using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ZedGraph;

namespace ICP_MS.Plugin.Advance;

public class FormIonSource : Form
{
	private Plasma plasma = null;

	private volatile bool isQuit = false;

	private const int Error = 1;

	private System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();

	private List<double> dataT = new List<double>();

	private List<double> dataP1 = new List<double>();

	private List<double> dataP2 = new List<double>();

	private List<double> dataTem = new List<double>();

	private List<double> datawindT = new List<double>();

	private int RecordCount = 1;

	private const int Correct = 0;

	public bool IsRecord = false;

	private IContainer components = null;

	private GroupBox gIon;

	private Button btnCloseCool;

	private Button btnCloseAux;

	private Button btnCloseNebu;

	private Button btnCool;

	private Button btnAux;

	private Button btnOpenNebu;

	private System.Windows.Forms.Label label3;

	private System.Windows.Forms.Label label2;

	private System.Windows.Forms.Label label1;

	private GroupBox gIonSource;

	private GroupBox groupBox4;

	private TextBox txtForw;

	private System.Windows.Forms.Label label25;

	private TextBox txtRef;

	private System.Windows.Forms.Label label24;

	private TextBox txtSCool;

	private System.Windows.Forms.Label label23;

	private TextBox txtSAux;

	private System.Windows.Forms.Label label22;

	private TextBox txtSNeub;

	private System.Windows.Forms.Label label21;

	private TextBox txtSWater;

	private System.Windows.Forms.Label label16;

	private TextBox txtSCoolSwitch;

	private System.Windows.Forms.Label label15;

	private TextBox txtSCoolGas;

	private System.Windows.Forms.Label label14;

	private TextBox txtSDoor;

	private System.Windows.Forms.Label label13;

	private TextBox txtSAr;

	private System.Windows.Forms.Label label28;

	private NumericUpDown nudCool;

	private NumericUpDown nudAux;

	private NumericUpDown nudNeub;

	private Button btnResetAxis;

	private Button btnZ;

	private Button btnY;

	private Button btnX;

	private NumericUpDown nudZ;

	private NumericUpDown nudY;

	private NumericUpDown nudX;

	private System.Windows.Forms.Label label29;

	private System.Windows.Forms.Label label31;

	private System.Windows.Forms.Label label32;

	private TextBox txtSZ;

	private System.Windows.Forms.Label label33;

	private TextBox txtSY;

	private System.Windows.Forms.Label label34;

	private TextBox txtSX;

	private System.Windows.Forms.Label label35;

	private NumericUpDown nudPeri;

	private Button btnClosePeritaltic;

	private Button btnOpenPeritaltic;

	private System.Windows.Forms.Label label30;

	private TextBox txtLoadPos;

	private System.Windows.Forms.Label label41;

	private TextBox txtTunePos;

	private System.Windows.Forms.Label label40;

	private TextBox txtPerist;

	private System.Windows.Forms.Label label42;

	private TextBox txtInterfaceTemp;

	private System.Windows.Forms.Label label44;

	private TextBox txtRFEN;

	private System.Windows.Forms.Label label12;

	private TextBox txtLightPrOn;

	private System.Windows.Forms.Label label11;

	private TextBox txtPositive24;

	private TextBox txtNegative24;

	private TextBox txtCLRIntLock;

	private TextBox txtPowerSwitch;

	private TextBox txtLightFault;

	private System.Windows.Forms.Label label9;

	private System.Windows.Forms.Label lblNegative24;

	private System.Windows.Forms.Label label8;

	private System.Windows.Forms.Label lblPowerSwitch;

	private System.Windows.Forms.Label label7;

	private TextBox txtWindTemp;

	private System.Windows.Forms.Label label27;

	private TextBox txtWaterTemp;

	private System.Windows.Forms.Label label26;

	private GroupBox gP4;

	private TextBox txtRFFailure;

	private System.Windows.Forms.Label label18;

	private TextBox txtP4_8;

	private TextBox txtP4_7;

	private TextBox txtP4_6;

	private TextBox txtP4_5;

	private TextBox txtP4_4;

	private TextBox txtP4_3;

	private TextBox txtP4_2;

	private TextBox txtP4_1;

	private RadioButton rbtnPowerTemperature;

	private RadioButton rbtn48Voltage;

	private RadioButton rbtnNone2;

	private RadioButton rbtnNone1;

	private RadioButton rbtnHealPower;

	private RadioButton rbtn48Current;

	private RadioButton rbtnForwardPower;

	private RadioButton btnRefPower;

	private Button btnSend;

	private System.Windows.Forms.Label label19;

	private System.Windows.Forms.Label label20;

	private TextBox txtSLoadPre;

	private TextBox txtSIgnite;

	private System.Windows.Forms.Label label36;

	private System.Windows.Forms.Label label37;

	private TextBox txtSTunePre;

	private TextBox txtSShield;

	private System.Windows.Forms.Label label38;

	private TextBox txtLoadAuto;

	private System.Windows.Forms.Label label39;

	private TextBox txtTuneAuto;

	private System.Windows.Forms.Label label43;

	private TextBox txtSRFON;

	private System.Windows.Forms.Label label46;

	private TextBox txtSMPS;

	private GroupBox groupBox1;

	private System.Windows.Forms.Label label47;

	private NumericUpDown nudPower;

	private Button btnOpenRFON;

	private Button btnCloseRFOn;

	private Button btnOpenMPS;

	private Button btnCloseMPS;

	private Button btnOpenShield;

	private Button btnCloseShield;

	private Button btnOpenIgnite;

	private Button btnCloseIgnite;

	private Button btnOpenTuneAuto;

	private Button btnCloseTuneAuto;

	private Button btnOpenLoadAuto;

	private Button btnCloseLoadAuto;

	private Button btnOpenTunePre;

	private Button btnCloseTunePre;

	private Button btnOpenLoadPre;

	private Button btnCloseLoadPre;

	private Button btnSetPower;

	private System.Windows.Forms.Label label54;

	private Button btnPlasmaOn;

	private Button btnPlasmaOff;

	private GroupBox groupBox2;

	private System.Windows.Forms.Label label61;

	private System.Windows.Forms.Label label60;

	private System.Windows.Forms.Label label59;

	private System.Windows.Forms.Label label56;

	private System.Windows.Forms.Label label58;

	private System.Windows.Forms.Label label55;

	private TextBox txtErr7;

	private System.Windows.Forms.Label label57;

	private TextBox txtErr5;

	private System.Windows.Forms.Label label49;

	private TextBox txtErr8;

	private TextBox txtErr4;

	private TextBox txtErr6;

	private TextBox txtErr3;

	private TextBox txtErr2;

	private TextBox txtErr1;

	private Button btnClearEXTI;

	private Button btnClosePlasma;

	private Button btnLightPrOn;

	private Button btnCloseLightPr;

	private Button btnSaveCapacity;

	private System.Windows.Forms.Label label17;

	private System.Windows.Forms.Label label10;

	private System.Windows.Forms.Label label6;

	private System.Windows.Forms.Label label5;

	private System.Windows.Forms.Label label4;

	private System.Windows.Forms.Label label48;

	private System.Windows.Forms.Label label45;

	private Button btnSetLoad;

	private Button btnSetTune;

	private System.Windows.Forms.Label label53;

	private System.Windows.Forms.Label label52;

	private System.Windows.Forms.Label label51;

	private System.Windows.Forms.Label label50;

	private NumericUpDown nudLoadPos;

	private NumericUpDown nudTunePos;

	private ZedGraphControl graph;

	private GroupBox gbCurve;

	private Button btnClear;

	private Button btnSave;

	private Button btnRecord;

	private TabControl tabControl1;

	private TabPage tabPage2;

	private TabPage tabPage1;

	private GroupBox groupBox3;

	private CheckBox chkwt;

	private CheckBox chkit;

	private CheckBox chkrp;

	private CheckBox chkfp;

	private GroupBox groupBox5;

	private System.Windows.Forms.Label lblForward;

	private System.Windows.Forms.Label lblBack;

	private NumericUpDown nudAppendix1;

	private Button btnAppendix1Close;

	private Button btnAppendix1Open;

	private System.Windows.Forms.Label lblSAppendix1;

	private TextBox txtSAppendix1;

	private System.Windows.Forms.Label label62;

	private TabPage tabPage3;

	private Panel panel1;

	private GroupBox groupBox6;

	private ComboBox comboBox1;

	private TextBox txtoldAddress1;

	private TextBox txtnewAddress1;

	private System.Windows.Forms.Label label65;

	private System.Windows.Forms.Label label64;

	private System.Windows.Forms.Label label63;

	private Button btnMFCAddressSet;

	public FormIonSource()
	{
		InitializeComponent();
	}

	private void Form1_Load(object sender, EventArgs e)
	{
		base.WindowState = FormWindowState.Maximized;
		plasma = Plasma.Instance;
		UserManager.UserChanged += UserManager_UserChanged;
		PermissionManagement();
		graph.GraphPane.Title.Text = Lang.Txt("ADD.FormIonSource.Curve.Text");
		graph.GraphPane.XAxis.Title.Text = Lang.Txt("ADD.FormIonSource.Curve.Time");
		graph.GraphPane.YAxis.Title.Text = Lang.Txt("ADD.FormIonSource.Curve.PowerTemp");
		graph.GraphPane.Y2Axis.IsVisible = true;
		graph.GraphPane.AddCurve(Lang.Txt("ADD.FormIonSource.Curve.FrontPower"), new PointPairList(), Color.Red, SymbolType.None);
		graph.GraphPane.AddCurve(Lang.Txt("ADD.FormIonSource.Curve.ReflectedPower"), new PointPairList(), Color.Blue, SymbolType.None);
		LineItem line1 = graph.GraphPane.AddCurve(Lang.Txt("ADD.FormIonSource.Curve.InterfaceTemp"), new PointPairList(), Color.Green, SymbolType.None);
		line1.IsY2Axis = true;
		LineItem line2 = graph.GraphPane.AddCurve(Lang.Txt("ADD.FormIonSource.Curve.DuctTemp"), new PointPairList(), Color.Gold, SymbolType.None);
		line2.IsY2Axis = true;
		timer.Interval = 1000;
		timer.Tick += timer_Tick;
		timer.Start();
		PlasmaManager.AbnormalChecked += Seren_AbnormalChecked;
		Task.Factory.StartNew(delegate
		{
			while (!isQuit)
			{
				try
				{
					Invoke((MethodInvoker)delegate
					{
						txtSNeub.Text = PlasmaManager.plasma.ReadNebuliser.ToString("F2");
						txtSAux.Text = PlasmaManager.plasma.ReadAuxiliary.ToString("F2");
						txtSCool.Text = PlasmaManager.plasma.ReadCool.ToString("F2");
						txtSAppendix1.Text = PlasmaManager.plasma.ReadAppendix1.ToString("F2");
						double num = PlatManager.plat.ReadX / 100.0;
						double num2 = PlatManager.plat.ReadY / 100.0;
						double num3 = PlatManager.plat.ReadZ / 100.0;
						txtSX.Text = num.ToString("F2");
						txtSY.Text = num2.ToString("F2");
						txtSZ.Text = num3.ToString("F2");
						txtRef.Text = PlasmaManager.plasma.ReadReflection.ToString("F1");
						txtForw.Text = PlasmaManager.plasma.ReadForward.ToString("F1");
						txtTunePos.Text = PlasmaManager.plasma.ReadTune.ToString("F1");
						txtLoadPos.Text = PlasmaManager.plasma.ReadLoad.ToString("F1");
						txtWaterTemp.Text = PlasmaManager.plasma.ReadWater.ToString("F0");
						txtWindTemp.Text = PlasmaManager.plasma.ReadTemperatureWind.ToString("F2");
						txtInterfaceTemp.Text = PlasmaManager.plasma.ReadInterfaceTemperature.ToString("F2");
						txtPerist.Text = PlatManager.injector.ReadPerist.ToString();
						CheckAbnormalStatus();
					});
				}
				catch (Exception ex)
				{
					Console.WriteLine(Lang.Txt("ADD.FormIonSource.Curve.LightStatusUpdated") + ex.Message);
				}
				Thread.Sleep(1000);
			}
		});
		ApplyResources();
	}

	private void timer_Tick(object sender, EventArgs e)
	{
		if (IsRecord)
		{
			if (graph.GraphPane.CurveList[0].Points.Count > 10000)
			{
				graph.GraphPane.CurveList[0].RemovePoint(0);
				graph.GraphPane.CurveList[1].RemovePoint(0);
				graph.GraphPane.CurveList[2].RemovePoint(0);
				graph.GraphPane.CurveList[3].RemovePoint(0);
				dataT.Remove(0.0);
				dataP1.Remove(0.0);
				dataP2.Remove(0.0);
				dataTem.Remove(0.0);
			}
			if (RecordCount > int.MaxValue)
			{
				graph.GraphPane.CurveList[0].Clear();
				graph.GraphPane.CurveList[1].Clear();
				graph.GraphPane.CurveList[2].Clear();
				graph.GraphPane.CurveList[3].Clear();
				dataT.Clear();
				dataP1.Clear();
				dataP2.Clear();
				dataTem.Clear();
				RecordCount = 1;
			}
			graph.GraphPane.CurveList[0].AddPoint(RecordCount, PlasmaManager.plasma.ReadForward);
			graph.GraphPane.CurveList[1].AddPoint(RecordCount, PlasmaManager.plasma.ReadReflection);
			graph.GraphPane.CurveList[2].AddPoint(RecordCount, PlasmaManager.plasma.ReadInterfaceTemperature);
			graph.GraphPane.CurveList[3].AddPoint(RecordCount, PlasmaManager.plasma.ReadTemperatureWind);
			dataT.Add(RecordCount);
			dataP1.Add(PlasmaManager.plasma.ReadForward);
			dataP2.Add(PlasmaManager.plasma.ReadReflection);
			dataTem.Add(PlasmaManager.plasma.ReadPowerTemperature);
			RecordCount++;
			double min_dataP1 = dataP1.Min();
			double average_dataP1 = dataP1.Average();
			double max_dataP1 = dataP1.Max();
			double min_dataP2 = dataP2.Min();
			double average_dataP2 = dataP2.Average();
			double max_dataP2 = dataP2.Max();
			lblForward.Text = string.Format(Lang.Txt("AddFormIonSource.Text1"), min_dataP1, max_dataP1, average_dataP1.ToString("F2"));
			lblBack.Text = string.Format(Lang.Txt("AddFormIonSource.Text2"), min_dataP2, max_dataP2, average_dataP2.ToString("F2"));
			graph.Refresh();
			graph.AxisChange();
		}
	}

	private void UserManager_UserChanged(object sender, EventArgs e)
	{
		PermissionManagement();
	}

	private void CheckAbnormalStatus()
	{
		txtSWater.Text = PlasmaManager.plasma.StatusCoolWater.ToString();
		if (PlasmaManager.plasma.StatusCoolWater == 1)
		{
			txtSWater.BackColor = Color.Red;
		}
		else
		{
			txtSWater.BackColor = Color.LimeGreen;
		}
		txtSCoolSwitch.Text = PlasmaManager.plasma.StatusCoolSwitch.ToString();
		if (PlasmaManager.plasma.StatusCoolSwitch == 1)
		{
			txtSCoolSwitch.BackColor = Color.Red;
		}
		else
		{
			txtSCoolSwitch.BackColor = Color.LimeGreen;
		}
		txtSAr.Text = PlasmaManager.plasma.StatusArSwitch.ToString();
		if (PlasmaManager.plasma.StatusArSwitch == 1)
		{
			txtSAr.BackColor = Color.Red;
		}
		else
		{
			txtSAr.BackColor = Color.LimeGreen;
		}
		txtSDoor.Text = PlasmaManager.plasma.StatusDoor.ToString();
		if (PlasmaManager.plasma.StatusDoor == 1)
		{
			txtSDoor.BackColor = Color.Red;
		}
		else
		{
			txtSDoor.BackColor = Color.LimeGreen;
		}
		if (PlasmaManager.plasma.StatusLightPrOn == 0)
		{
			txtLightFault.Text = "";
			txtLightFault.BackColor = Color.Gray;
		}
		else
		{
			txtLightFault.Text = PlasmaManager.plasma.StatusLight.ToString();
			if (PlasmaManager.plasma.StatusLight == 1)
			{
				txtLightFault.BackColor = Color.Red;
			}
			else
			{
				txtLightFault.BackColor = Color.LimeGreen;
			}
		}
		txtPowerSwitch.Text = PlasmaManager.plasma.StatusPowerSwitch.ToString();
		if (PlasmaManager.plasma.StatusPowerSwitch == 1)
		{
			txtPowerSwitch.BackColor = Color.Red;
		}
		else
		{
			txtPowerSwitch.BackColor = Color.LimeGreen;
		}
		txtNegative24.Text = PlasmaManager.plasma.StatusNegative24.ToString();
		if (PlasmaManager.plasma.StatusNegative24 == 1)
		{
			txtNegative24.BackColor = Color.Red;
		}
		else
		{
			txtNegative24.BackColor = Color.LimeGreen;
		}
		txtPositive24.Text = PlasmaManager.plasma.StatusPositive24.ToString();
		if (PlasmaManager.plasma.StatusPositive24 == 1)
		{
			txtPositive24.BackColor = Color.Red;
		}
		else
		{
			txtPositive24.BackColor = Color.LimeGreen;
		}
		txtPositive24.Text = PlasmaManager.plasma.StatusPositive24.ToString();
		if (PlasmaManager.plasma.StatusPositive24 == 1)
		{
			txtPositive24.BackColor = Color.Red;
		}
		else
		{
			txtPositive24.BackColor = Color.LimeGreen;
		}
		txtSCoolGas.Text = PlasmaManager.plasma.StatusCanAndGasFlowInLock.ToString();
		if (PlasmaManager.plasma.StatusCanAndGasFlowInLock == 1)
		{
			txtSCoolGas.BackColor = Color.Red;
		}
		else
		{
			txtSCoolGas.BackColor = Color.LimeGreen;
		}
		txtRFEN.Text = PlasmaManager.plasma.StatusRFEn.ToString();
		if (PlasmaManager.plasma.StatusRFEn == 0)
		{
			txtRFEN.BackColor = Color.Red;
		}
		else
		{
			txtRFEN.BackColor = Color.LimeGreen;
		}
		txtCLRIntLock.Text = PlasmaManager.plasma.StatusCLRIntLock.ToString();
		if (PlasmaManager.plasma.StatusCLRIntLock == 1)
		{
			txtCLRIntLock.BackColor = Color.Red;
		}
		else
		{
			txtCLRIntLock.BackColor = Color.LimeGreen;
		}
		txtLightPrOn.Text = PlasmaManager.plasma.StatusLightPrOn.ToString();
		if (PlasmaManager.plasma.StatusLightPrOn == 0)
		{
			txtLightPrOn.BackColor = Color.Red;
		}
		else
		{
			txtLightPrOn.BackColor = Color.LimeGreen;
		}
		txtRFFailure.Text = PlasmaManager.plasma.RFFailure.ToString();
		if (PlasmaManager.plasma.RFFailure == 1)
		{
			txtRFFailure.BackColor = Color.Red;
		}
		else
		{
			txtRFFailure.BackColor = Color.LimeGreen;
		}
		if (PlasmaManager.plasma.StatusLoadPre == 1)
		{
			txtSLoadPre.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		else
		{
			txtSLoadPre.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		if (PlasmaManager.plasma.StatusTunePre == 1)
		{
			txtSTunePre.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		else
		{
			txtSTunePre.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		if (PlasmaManager.plasma.StatusLoadAuto == 1)
		{
			txtLoadAuto.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text6");
		}
		else
		{
			txtLoadAuto.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text3");
		}
		if (PlasmaManager.plasma.StatusTuneAuto == 1)
		{
			txtTuneAuto.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text6");
		}
		else
		{
			txtTuneAuto.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text3");
		}
		if (PlasmaManager.plasma.StatusIgnite == 1)
		{
			txtSIgnite.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		else
		{
			txtSIgnite.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		if (PlasmaManager.plasma.StatusShield == 1)
		{
			txtSShield.BackColor = Color.LimeGreen;
			txtSShield.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		else
		{
			txtSShield.BackColor = Color.Red;
			txtSShield.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		if (PlasmaManager.plasma.StatusMPS == 1)
		{
			txtSMPS.BackColor = Color.LimeGreen;
			txtSMPS.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		else
		{
			txtSMPS.BackColor = Color.Red;
			txtSMPS.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		if (PlasmaManager.plasma.StatusRFOn == 1)
		{
			txtSRFON.BackColor = Color.Red;
			txtSRFON.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		}
		else
		{
			txtSRFON.BackColor = Color.LimeGreen;
			txtSRFON.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		}
		switch (PlasmaManager.plasma.Addr)
		{
		case 0:
			rbtnPowerTemperature.BackColor = Color.LimeGreen;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 1:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.LimeGreen;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 2:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.LimeGreen;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 3:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.LimeGreen;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 4:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.LimeGreen;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 5:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.LimeGreen;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 6:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.LimeGreen;
			rbtn48Voltage.BackColor = Color.Gray;
			break;
		case 7:
			rbtnPowerTemperature.BackColor = Color.Gray;
			btnRefPower.BackColor = Color.Gray;
			rbtnForwardPower.BackColor = Color.Gray;
			rbtn48Current.BackColor = Color.Gray;
			rbtnHealPower.BackColor = Color.Gray;
			rbtnNone1.BackColor = Color.Gray;
			rbtnNone2.BackColor = Color.Gray;
			rbtn48Voltage.BackColor = Color.LimeGreen;
			break;
		}
		switch (PlasmaManager.plasma.ReadChannel)
		{
		case 0:
			txtP4_1.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_1.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 1:
			txtP4_2.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_2.BackColor = Color.LimeGreen;
			txtP4_1.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 2:
			txtP4_3.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_3.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 3:
			txtP4_4.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_4.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 4:
			txtP4_5.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_5.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 5:
			txtP4_6.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_6.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 6:
			txtP4_7.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_7.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			txtP4_8.BackColor = Color.Gray;
			break;
		case 7:
			txtP4_8.Text = PlasmaManager.plasma.ReadChannelValue.ToString();
			txtP4_8.BackColor = Color.LimeGreen;
			txtP4_2.BackColor = Color.Gray;
			txtP4_3.BackColor = Color.Gray;
			txtP4_4.BackColor = Color.Gray;
			txtP4_5.BackColor = Color.Gray;
			txtP4_6.BackColor = Color.Gray;
			txtP4_7.BackColor = Color.Gray;
			txtP4_1.BackColor = Color.Gray;
			break;
		}
		byte err = (byte)PlasmaManager.plasma.ReadError;
		if ((err & 1) == 1)
		{
			txtErr1.BackColor = Color.Red;
		}
		else
		{
			txtErr1.BackColor = Color.LimeGreen;
		}
		if ((err & 2) >> 1 == 1)
		{
			txtErr2.BackColor = Color.Red;
		}
		else
		{
			txtErr2.BackColor = Color.LimeGreen;
		}
		if ((err & 4) >> 2 == 1)
		{
			txtErr3.BackColor = Color.Red;
		}
		else
		{
			txtErr3.BackColor = Color.LimeGreen;
		}
		if ((err & 8) >> 3 == 1)
		{
			txtErr4.BackColor = Color.Red;
		}
		else
		{
			txtErr4.BackColor = Color.LimeGreen;
		}
		if ((err & 0x10) >> 4 == 1)
		{
			txtErr5.BackColor = Color.Red;
		}
		else
		{
			txtErr5.BackColor = Color.LimeGreen;
		}
		if ((err & 0x20) >> 5 == 1)
		{
			txtErr6.BackColor = Color.Red;
		}
		else
		{
			txtErr6.BackColor = Color.LimeGreen;
		}
		if ((err & 0x40) >> 6 == 1)
		{
			txtErr7.BackColor = Color.Red;
		}
		else
		{
			txtErr7.BackColor = Color.LimeGreen;
		}
		if ((err & 0x80) >> 7 == 1)
		{
			txtErr8.BackColor = Color.Red;
		}
		else
		{
			txtErr8.BackColor = Color.LimeGreen;
		}
	}

	private void Seren_AbnormalChecked(object sender, EventArgs e)
	{
		Invoke((MethodInvoker)delegate
		{
			CheckAbnormalStatus();
		});
	}

	private void Form1_FormClosing(object sender, FormClosingEventArgs e)
	{
		if (IsRecord)
		{
			IsRecord = false;
		}
		isQuit = true;
		UserManager.UserChanged -= UserManager_UserChanged;
	}

	private void btnOpenNebu_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.Nebuliser = decimal.ToDouble(nudNeub.Value);
		plasma.OpenNebulizerGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "OpenNebulizerGas", "", (Severity)1);
	}

	private void btnCloseNebu_Click(object sender, EventArgs e)
	{
		plasma.CloseNebulizerGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "CloseNebulizerGas", "", (Severity)1);
	}

	private void btnAux_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.Auxiliary = decimal.ToDouble(nudAux.Value);
		plasma.OpenAuxiliaryGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "OpenAuxiliaryGas", "", (Severity)1);
	}

	private void btnCloseAux_Click(object sender, EventArgs e)
	{
		plasma.CloseAuxiliaryGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "CloseAuxiliaryGas", "", (Severity)1);
	}

	private void btnCool_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.Cool = decimal.ToDouble(nudCool.Value);
		plasma.OpenCoolGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "OpenCoolGas", "", (Severity)1);
	}

	private void btnCloseCool_Click(object sender, EventArgs e)
	{
		plasma.CloseCoolGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "CloseCoolGas", "", (Severity)1);
	}

	private void btnX_Click(object sender, EventArgs e)
	{
		PlatManager.plat.X = decimal.ToSingle(nudX.Value);
		plasma.SetXAxis();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetXAxis", "", (Severity)1);
	}

	private void btnY_Click(object sender, EventArgs e)
	{
		PlatManager.plat.Y = decimal.ToSingle(nudY.Value);
		plasma.SetYAxis();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetYAxis", "", (Severity)1);
	}

	private void btnZ_Click(object sender, EventArgs e)
	{
		PlatManager.plat.Z = decimal.ToSingle(nudZ.Value);
		plasma.SetZAxis();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetZAxis", "", (Severity)1);
	}

	private void btnResetAxis_Click(object sender, EventArgs e)
	{
		plasma.ResetAxis();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "ResetAxis", "", (Severity)1);
	}

	private void btnOpenRF_Click(object sender, EventArgs e)
	{
		plasma.OpenRF();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "OpenRF", "", (Severity)1);
	}

	private void btnCloseRF_Click(object sender, EventArgs e)
	{
		plasma.CloseRF();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "CloseRF", "", (Severity)1);
	}

	private void btnSetPower_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.Power = decimal.ToDouble(nudPower.Value);
		plasma.SetPower();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetPower", "", (Severity)1);
	}

	private void btnOpenPeritaltic_Click(object sender, EventArgs e)
	{
		PlatManager.injector.Perist = decimal.ToInt32(nudPeri.Value * 10m);
		plasma.PeristalticPumpOnNormal();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "PeristalticPumpOnNormal", "", (Severity)1);
	}

	private void btnClosePeritaltic_Click(object sender, EventArgs e)
	{
		plasma.PeristalticPumpOff();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "PeristalticPumpOff", "", (Severity)1);
	}

	private void nudZ_ValueChanged(object sender, EventArgs e)
	{
	}

	private void nudX_ValueChanged(object sender, EventArgs e)
	{
	}

	private void PermissionManagement()
	{
		if (UserManager.CurrentUser.authority <= 1)
		{
			gIon.Visible = false;
			gIonSource.Visible = false;
			gbCurve.Visible = false;
			tabPage2.Parent = null;
			btnSend.Visible = false;
			{
				foreach (object ctrl in groupBox1.Controls)
				{
					if (ctrl.GetType() == typeof(Button))
					{
						((Button)ctrl).Visible = false;
					}
				}
				return;
			}
		}
		gIonSource.Visible = true;
		gIon.Visible = true;
		gbCurve.Visible = true;
		tabPage2.Parent = tabControl1;
		btnSend.Visible = true;
		foreach (object ctrl2 in groupBox1.Controls)
		{
			if (ctrl2.GetType() == typeof(Button))
			{
				((Button)ctrl2).Visible = true;
			}
		}
	}

	private void btnPlasmaOn_Click(object sender, EventArgs e)
	{
		plasma.PlasmaOn();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.ManualIgnition"), "", (Severity)1);
	}

	private void btnPlasmaOff_Click(object sender, EventArgs e)
	{
		plasma.PlasmaOff();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.ManualFlameout"), "", (Severity)1);
	}

	private void btnOpenLoadPre_Click(object sender, EventArgs e)
	{
		plasma.OpenPreLoad();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.LoadPresetOn"), "", (Severity)1);
	}

	private void btnCloseLoadPre_Click(object sender, EventArgs e)
	{
		plasma.ClosePreLoad();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.LoadPresetOff"), "", (Severity)1);
	}

	private void btnOpenTunePre_Click(object sender, EventArgs e)
	{
		plasma.OpenPreTune();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.TunePresetOn"), "", (Severity)1);
	}

	private void btnCloseTunePre_Click(object sender, EventArgs e)
	{
		plasma.ClosePreTune();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.TunePresetOff"), "", (Severity)1);
	}

	private void btnOpenLoadAuto_Click(object sender, EventArgs e)
	{
		plasma.CloseLoadManual();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.LoadAutoOff"), "", (Severity)1);
	}

	private void btnCloseLoadAuto_Click(object sender, EventArgs e)
	{
		plasma.OpenLoadManual();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.LoadAutoOn"), "", (Severity)1);
	}

	private void btnOpenTuneAuto_Click(object sender, EventArgs e)
	{
		plasma.CloseTuneManual();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.TuneAutoOff"), "", (Severity)1);
	}

	private void btnCloseTuneAuto_Click(object sender, EventArgs e)
	{
		plasma.OpenTuneManual();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.TuneAutoOn"), "", (Severity)1);
	}

	private void btnOpenIgnite_Click(object sender, EventArgs e)
	{
		plasma.OpenIgnite();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.IgnitionSignOn"), "", (Severity)1);
	}

	private void btnCloseIgnite_Click(object sender, EventArgs e)
	{
		plasma.CloseIgnite();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.IgnitionSignOff"), "", (Severity)1);
	}

	private void btnOpenShield_Click(object sender, EventArgs e)
	{
		plasma.OpenShield();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.OpenCoil"), "", (Severity)1);
	}

	private void btnCloseShield_Click(object sender, EventArgs e)
	{
		plasma.CloseShield();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.CloseCoil"), "", (Severity)1);
	}

	private void btnOpenMPS_Click(object sender, EventArgs e)
	{
		plasma.OpenMPS();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.OpenMPS"), "", (Severity)1);
	}

	private void btnCloseMPS_Click(object sender, EventArgs e)
	{
		plasma.CloseMPS();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.CloseMPS"), "", (Severity)1);
	}

	private void btnSend_Click(object sender, EventArgs e)
	{
		plasma.SetAddr();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.SetP4"), "", (Severity)1);
	}

	private void rbtnPowerTemperature_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtnPowerTemperature.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 0;
		}
	}

	private void btnRefPower_CheckedChanged(object sender, EventArgs e)
	{
		if (btnRefPower.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 1;
		}
	}

	private void rbtnForwardPower_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtnForwardPower.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 2;
		}
	}

	private void rbtn48Current_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtn48Current.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 3;
		}
	}

	private void rbtnHealPower_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtnHealPower.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 4;
		}
	}

	private void rbtnNone1_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtnNone1.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 5;
		}
	}

	private void rbtnNone2_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtnNone2.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 6;
		}
	}

	private void rbtn48Voltage_CheckedChanged(object sender, EventArgs e)
	{
		if (rbtn48Voltage.Checked)
		{
			PlasmaManager.plasma.AddrSelected = 7;
		}
	}

	private void txtPlasma_TextChanged(object sender, EventArgs e)
	{
	}

	private void btnClearEXTI_Click(object sender, EventArgs e)
	{
		plasma.ClearEXTI();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "ClearEXTI", "", (Severity)1);
	}

	private void btnClosePlasma_Click(object sender, EventArgs e)
	{
		plasma.ClosePlasma();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "ClosePlasma", "", (Severity)1);
	}

	private void btnLightPrOn_Click(object sender, EventArgs e)
	{
		plasma.OpenLightPr();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "LightPrOpen", "", (Severity)1);
	}

	private void btnCloseLightPr_Click(object sender, EventArgs e)
	{
		plasma.CloseLightPr();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "CloseLightPr", "", (Severity)1);
	}

	private void groupBox1_Enter(object sender, EventArgs e)
	{
	}

	private void btnSaveCapacity_Click(object sender, EventArgs e)
	{
		plasma.SavePositonPre();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SavePositonPre", "", (Severity)1);
	}

	private void btnSetTune_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.TunePositionSet = Convert.ToInt32(nudTunePos.Value);
		plasma.SetTunePositionPre();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetTunePositionPre", "", (Severity)1);
	}

	private void btnSetLoad_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.LoadPositionSet = Convert.ToInt32(nudLoadPos.Value);
		plasma.SetLoadPositionPre();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), "SetLoadPositionPre", "", (Severity)1);
	}

	private void btnRecord_Click(object sender, EventArgs e)
	{
		if (!IsRecord)
		{
			IsRecord = true;
			btnRecord.Text = Lang.Txt("FormIonSource.Button.Stop.Text");
		}
		else
		{
			IsRecord = false;
			btnRecord.Text = Lang.Txt("FormIonSource.Button.Record.Text");
		}
	}

	private void btnClear_Click(object sender, EventArgs e)
	{
		graph.GraphPane.CurveList[0].Clear();
		graph.GraphPane.CurveList[1].Clear();
		graph.GraphPane.CurveList[2].Clear();
		graph.GraphPane.CurveList[3].Clear();
		dataTem.Clear();
		dataT.Clear();
		dataP2.Clear();
		dataP1.Clear();
		datawindT.Clear();
		RecordCount = 1;
	}

	private void btnSave_Click(object sender, EventArgs e)
	{
	}

	private void chkfp_CheckedChanged(object sender, EventArgs e)
	{
		graph.GraphPane.CurveList[0].IsVisible = chkfp.Checked;
	}

	private void chkrp_CheckedChanged(object sender, EventArgs e)
	{
		graph.GraphPane.CurveList[1].IsVisible = chkrp.Checked;
	}

	private void chkit_CheckedChanged(object sender, EventArgs e)
	{
		graph.GraphPane.CurveList[2].IsVisible = chkit.Checked;
	}

	private void chkwt_CheckedChanged(object sender, EventArgs e)
	{
		graph.GraphPane.CurveList[3].IsVisible = chkwt.Checked;
	}

	private void ApplyResources()
	{
		groupBox4.Text = Lang.Txt("FormIonSource.GroupBox.Status.Text");
		label21.Text = Lang.Txt("FormIonSource.Carrier.Text");
		label22.Text = Lang.Txt("FormIonSource.Nebulizer.Text");
		label23.Text = Lang.Txt("FormIonSource.CoolGas.Text");
		label35.Text = Lang.Txt("FormIonSource.XPosition.Text");
		label33.Text = Lang.Txt("FormIonSource.ZPosition.Text");
		label34.Text = Lang.Txt("FormIonSource.YPosition.Text");
		label42.Text = Lang.Txt("FormIonSource.Pump.Text");
		label16.Text = Lang.Txt("FormIonSource.CoolWater.Text");
		label15.Text = Lang.Txt("FormIonSource.CoolFan.Text");
		label13.Text = Lang.Txt("FormIonSource.Door.Text");
		lblPowerSwitch.Text = Lang.Txt("FormIonSource.MatchPower.Text");
		lblNegative24.Text = Lang.Txt("FormIonSource.Voltage24Negative.Text");
		label7.Text = Lang.Txt("FormIonSource.LightSensor.Text");
		label28.Text = Lang.Txt("FormIonSource.Ar.Text");
		label9.Text = Lang.Txt("FormIonSource.Voltage24Positive.Text");
		label24.Text = Lang.Txt("FormIonSource.ReflectionPower.Text");
		label25.Text = Lang.Txt("FormIonSource.ForwardPower.Text");
		label26.Text = Lang.Txt("FormIonSource.WaterFlowSpeed.Text");
		label27.Text = Lang.Txt("FormIonSource.WindTemperature.Text");
		label44.Text = Lang.Txt("FormIonSource.IntTemperature.Text");
		groupBox2.Text = Lang.Txt("FormIonSource.GroupBox.ErrorWarn.Text");
		label49.Text = Lang.Txt("FormIonSource.LightSensor.Text");
		label55.Text = Lang.Txt("FormIonSource.IgniteInterrupt.Text");
		label59.Text = Lang.Txt("FormIonSource.PowerAmplierConnect.Text");
		label56.Text = Lang.Txt("FormIonSource.TemperatureOutside.Text");
		label57.Text = Lang.Txt("FormIonSource.WaterBlock.Text");
		label58.Text = Lang.Txt("FormIonSource.EXTI.Text");
		label60.Text = Lang.Txt("FormIonSource.QuenchUnexpected.Text");
		gP4.Text = Lang.Txt("FormIonSource.GroupBox.P4Paramemter.Text");
		rbtnPowerTemperature.Text = Lang.Txt("FormIonSource.P4Parameter.PowerTemperature.Text");
		btnRefPower.Text = Lang.Txt("FormIonSource.P4Parameter.ReflectionPower.Text");
		rbtnForwardPower.Text = Lang.Txt("FormIonSource.P4Parameter.FwdPower.Text");
		rbtn48Current.Text = Lang.Txt("FormIonSource.P4Parameter.Current48.Text");
		rbtnNone1.Text = Lang.Txt("FormIonSource.P4Parameter.None.Text");
		rbtnHealPower.Text = Lang.Txt("FormIonSource.P4Parameter.PowerHeatingPower.Text");
		rbtnNone2.Text = Lang.Txt("FormIonSource.P4Parameter.None.Text");
		rbtn48Voltage.Text = Lang.Txt("FormIonSource.P4Parameter.Voltage48.Text");
		btnSend.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		groupBox1.Text = Lang.Txt("FormIonSource.P3Parameter.Text");
		label19.Text = Lang.Txt("FormIonSource.P3Parameter.PreLoadValue.Text");
		label36.Text = Lang.Txt("FormIonSource.P3Parameter.PreTuneValue.Text");
		label38.Text = Lang.Txt("FormIonSource.P3Parameter.LoadAutoValue.Text");
		label39.Text = Lang.Txt("FormIonSource.P3Parameter.TuneAutoValue.Text");
		label37.Text = Lang.Txt("FormIonSource.P3Parameter.Shield.Text");
		label46.Text = Lang.Txt("FormIonSource.P3Parameter.MPSFlag.Text");
		label11.Text = Lang.Txt("FormIonSource.P3Parameter.LightPrOn.Text");
		label12.Text = Lang.Txt("FormIonSource.P3Parameter.RFEN.Text");
		gIon.Text = Lang.Txt("FormIonSource.GroupBox.Plasma.Text");
		label1.Text = Lang.Txt("FormIonSource.Carrier.Text");
		label2.Text = Lang.Txt("FormIonSource.Nebulizer.Text");
		label3.Text = Lang.Txt("FormIonSource.CoolGas.Text");
		label30.Text = Lang.Txt("FormIonSource.Pump.Text");
		label32.Text = Lang.Txt("FormIonSource.XPosition.Text");
		label29.Text = Lang.Txt("FormIonSource.ZPosition.Text");
		label31.Text = Lang.Txt("FormIonSource.YPosition.Text");
		gIonSource.Text = Lang.Txt("FormIonSource.GroupBox.IonSource.Text");
		label47.Text = Lang.Txt("FormIonSource.Power.Text");
		label20.Text = Lang.Txt("FormIonSource.IgniteFlag.Text");
		label43.Text = Lang.Txt("FormIonSource.RFONFlag.Text");
		label50.Text = Lang.Txt("FormIonSource.TunePosition.Text");
		label51.Text = Lang.Txt("FormIonSource.LoadPosition.Text");
		btnOpenIgnite.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenLoadAuto.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenLoadPre.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenMPS.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenNebu.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenPeritaltic.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenRFON.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenShield.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenTuneAuto.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnOpenTunePre.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnPlasmaOff.Text = Lang.Txt("FormIonSource.Button.Quench.Text");
		btnPlasmaOn.Text = Lang.Txt("FormIonSource.Button.Ignite.Text");
		btnRecord.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnRefPower.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnResetAxis.Text = Lang.Txt("FormIonSource.Button.ResetPlat.Text");
		btnSave.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnSaveCapacity.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnSetLoad.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnSetPower.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnSetTune.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnX.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnY.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnZ.Text = Lang.Txt("FormIonSource.Button.Set.Text");
		btnAux.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnClear.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnClearEXTI.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseAux.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseCool.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseIgnite.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseLightPr.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseLoadAuto.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseLoadPre.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseMPS.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseNebu.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnClosePeritaltic.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnClosePlasma.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseRFOn.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseShield.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseTuneAuto.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCloseTunePre.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		btnCool.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		tabPage1.Text = Lang.Txt("FormIonSource.GroupBox.IonSource.Text");
		label62.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text1");
		lblSAppendix1.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text1");
		label61.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text2");
		btnAppendix1Open.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		btnAppendix1Close.Text = Lang.Txt("FormIonSource.Button.Close.Text");
		groupBox2.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text5");
		label40.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text4");
		btnLightPrOn.Text = Lang.Txt("FormIonSource.Button.Open.Text");
		label41.Text = Lang.Txt("ADD.FormIonSource.IonSource.Text7");
		tabPage3.Text = Lang.Txt("ADD.FormIonSource.MFCSetting.Text");
		label63.Text = Lang.Txt("ADD.FormIonSource.MFCSetting.NewAddress");
		label64.Text = Lang.Txt("ADD.FormIonSource.MFCSetting.OldAddress");
		label65.Text = Lang.Txt("ADD.FormIonSource.MFCSetting.Channel");
		btnMFCAddressSet.Text = Lang.Txt("ADD.FormIonSource.MFCSetting.btnMFCAddressSet");
		comboBox1.Items[0] = Lang.Txt("ADD.FormIonSource.MFCSetting.CarrierGas");
		comboBox1.Items[1] = Lang.Txt("ADD.FormIonSource.MFCSetting.AuxiliaryGas");
		comboBox1.Items[2] = Lang.Txt("ADD.FormIonSource.MFCSetting.CoolingGas");
		comboBox1.Items[3] = Lang.Txt("ADD.FormIonSource.MFCSetting.DilutiveGas");
		gbCurve.Text = Lang.Txt("ADD.FormIonSource.Curve.Text");
		groupBox5.Text = Lang.Txt("ADD.FormIonSource.Curve.Statistics");
		groupBox3.Text = Lang.Txt("ADD.FormIonSource.Curve.CurveSetting");
		chkwt.Text = Lang.Txt("ADD.FormIonSource.Curve.DuctTemp");
		chkit.Text = Lang.Txt("ADD.FormIonSource.Curve.InterfaceTemp");
		chkrp.Text = Lang.Txt("ADD.FormIonSource.Curve.ReflectedPower");
		chkfp.Text = Lang.Txt("ADD.FormIonSource.Curve.FrontPower");
		tabPage2.Text = Lang.Txt("ADD.FormIonSource.PowerTemperatureCurve.Text");
	}

	private void btnAppendix1Open_Click(object sender, EventArgs e)
	{
		PlasmaManager.plasma.Appendix1 = decimal.ToDouble(nudAppendix1.Value);
		plasma.OpenAppendixGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.OnAuxilary"), "", (Severity)1);
	}

	private void btnAppendix1Close_Click(object sender, EventArgs e)
	{
		plasma.CloseAppendixGas();
		Log.InsertLog(Lang.Txt("AddFormIonSource.UserAction"), Lang.Txt("AddFormIonSource.OffAuxilary"), "", (Severity)1);
	}

	private void btnMFCAddressSet_Click(object sender, EventArgs e)
	{
		if (comboBox1.SelectedIndex == -1)
		{
			return;
		}
		int mode = comboBox1.SelectedIndex + 1;
		try
		{
			byte newaddress = Convert.ToByte(txtnewAddress1.Text);
			byte oldaddress = Convert.ToByte(txtoldAddress1.Text);
			Plasma.Instance.SendMFCAddress((byte)mode, newaddress, oldaddress);
		}
		catch (Exception ex)
		{
			MessageBox.Show(ex.Message, Lang.Txt("AddFormIonSource.Warn"), MessageBoxButtons.OK);
		}
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		this.components = new System.ComponentModel.Container();
		this.gIon = new System.Windows.Forms.GroupBox();
		this.nudPeri = new System.Windows.Forms.NumericUpDown();
		this.btnClosePeritaltic = new System.Windows.Forms.Button();
		this.btnOpenPeritaltic = new System.Windows.Forms.Button();
		this.label30 = new System.Windows.Forms.Label();
		this.btnResetAxis = new System.Windows.Forms.Button();
		this.btnZ = new System.Windows.Forms.Button();
		this.btnY = new System.Windows.Forms.Button();
		this.btnX = new System.Windows.Forms.Button();
		this.nudZ = new System.Windows.Forms.NumericUpDown();
		this.nudY = new System.Windows.Forms.NumericUpDown();
		this.nudX = new System.Windows.Forms.NumericUpDown();
		this.label29 = new System.Windows.Forms.Label();
		this.label31 = new System.Windows.Forms.Label();
		this.label32 = new System.Windows.Forms.Label();
		this.nudAppendix1 = new System.Windows.Forms.NumericUpDown();
		this.nudCool = new System.Windows.Forms.NumericUpDown();
		this.nudAux = new System.Windows.Forms.NumericUpDown();
		this.nudNeub = new System.Windows.Forms.NumericUpDown();
		this.btnAppendix1Close = new System.Windows.Forms.Button();
		this.btnCloseCool = new System.Windows.Forms.Button();
		this.btnCloseAux = new System.Windows.Forms.Button();
		this.btnCloseNebu = new System.Windows.Forms.Button();
		this.btnAppendix1Open = new System.Windows.Forms.Button();
		this.btnCool = new System.Windows.Forms.Button();
		this.btnAux = new System.Windows.Forms.Button();
		this.btnOpenNebu = new System.Windows.Forms.Button();
		this.lblSAppendix1 = new System.Windows.Forms.Label();
		this.label3 = new System.Windows.Forms.Label();
		this.label2 = new System.Windows.Forms.Label();
		this.label1 = new System.Windows.Forms.Label();
		this.gIonSource = new System.Windows.Forms.GroupBox();
		this.btnSetLoad = new System.Windows.Forms.Button();
		this.btnSetTune = new System.Windows.Forms.Button();
		this.btnClosePlasma = new System.Windows.Forms.Button();
		this.label54 = new System.Windows.Forms.Label();
		this.label47 = new System.Windows.Forms.Label();
		this.label53 = new System.Windows.Forms.Label();
		this.btnSetPower = new System.Windows.Forms.Button();
		this.nudPower = new System.Windows.Forms.NumericUpDown();
		this.nudLoadPos = new System.Windows.Forms.NumericUpDown();
		this.label52 = new System.Windows.Forms.Label();
		this.nudTunePos = new System.Windows.Forms.NumericUpDown();
		this.btnPlasmaOff = new System.Windows.Forms.Button();
		this.btnPlasmaOn = new System.Windows.Forms.Button();
		this.label20 = new System.Windows.Forms.Label();
		this.btnCloseIgnite = new System.Windows.Forms.Button();
		this.label51 = new System.Windows.Forms.Label();
		this.txtSRFON = new System.Windows.Forms.TextBox();
		this.btnOpenIgnite = new System.Windows.Forms.Button();
		this.txtSIgnite = new System.Windows.Forms.TextBox();
		this.label43 = new System.Windows.Forms.Label();
		this.label50 = new System.Windows.Forms.Label();
		this.btnCloseRFOn = new System.Windows.Forms.Button();
		this.btnOpenRFON = new System.Windows.Forms.Button();
		this.groupBox4 = new System.Windows.Forms.GroupBox();
		this.txtRFFailure = new System.Windows.Forms.TextBox();
		this.label17 = new System.Windows.Forms.Label();
		this.label10 = new System.Windows.Forms.Label();
		this.label6 = new System.Windows.Forms.Label();
		this.label5 = new System.Windows.Forms.Label();
		this.label4 = new System.Windows.Forms.Label();
		this.txtInterfaceTemp = new System.Windows.Forms.TextBox();
		this.label18 = new System.Windows.Forms.Label();
		this.label44 = new System.Windows.Forms.Label();
		this.txtPerist = new System.Windows.Forms.TextBox();
		this.label42 = new System.Windows.Forms.Label();
		this.txtSZ = new System.Windows.Forms.TextBox();
		this.label33 = new System.Windows.Forms.Label();
		this.txtSY = new System.Windows.Forms.TextBox();
		this.label34 = new System.Windows.Forms.Label();
		this.txtSX = new System.Windows.Forms.TextBox();
		this.label35 = new System.Windows.Forms.Label();
		this.txtSAr = new System.Windows.Forms.TextBox();
		this.label28 = new System.Windows.Forms.Label();
		this.txtWindTemp = new System.Windows.Forms.TextBox();
		this.txtForw = new System.Windows.Forms.TextBox();
		this.label27 = new System.Windows.Forms.Label();
		this.label25 = new System.Windows.Forms.Label();
		this.txtWaterTemp = new System.Windows.Forms.TextBox();
		this.txtRef = new System.Windows.Forms.TextBox();
		this.label26 = new System.Windows.Forms.Label();
		this.label24 = new System.Windows.Forms.Label();
		this.txtSAppendix1 = new System.Windows.Forms.TextBox();
		this.label62 = new System.Windows.Forms.Label();
		this.txtSCool = new System.Windows.Forms.TextBox();
		this.label23 = new System.Windows.Forms.Label();
		this.txtSAux = new System.Windows.Forms.TextBox();
		this.label22 = new System.Windows.Forms.Label();
		this.txtSNeub = new System.Windows.Forms.TextBox();
		this.label21 = new System.Windows.Forms.Label();
		this.txtSWater = new System.Windows.Forms.TextBox();
		this.label16 = new System.Windows.Forms.Label();
		this.txtSCoolSwitch = new System.Windows.Forms.TextBox();
		this.label15 = new System.Windows.Forms.Label();
		this.txtSCoolGas = new System.Windows.Forms.TextBox();
		this.label14 = new System.Windows.Forms.Label();
		this.txtPositive24 = new System.Windows.Forms.TextBox();
		this.txtNegative24 = new System.Windows.Forms.TextBox();
		this.txtCLRIntLock = new System.Windows.Forms.TextBox();
		this.txtPowerSwitch = new System.Windows.Forms.TextBox();
		this.txtLightFault = new System.Windows.Forms.TextBox();
		this.txtSDoor = new System.Windows.Forms.TextBox();
		this.label9 = new System.Windows.Forms.Label();
		this.lblNegative24 = new System.Windows.Forms.Label();
		this.label8 = new System.Windows.Forms.Label();
		this.lblPowerSwitch = new System.Windows.Forms.Label();
		this.label7 = new System.Windows.Forms.Label();
		this.label13 = new System.Windows.Forms.Label();
		this.txtLoadPos = new System.Windows.Forms.TextBox();
		this.label41 = new System.Windows.Forms.Label();
		this.txtTunePos = new System.Windows.Forms.TextBox();
		this.label40 = new System.Windows.Forms.Label();
		this.txtRFEN = new System.Windows.Forms.TextBox();
		this.label12 = new System.Windows.Forms.Label();
		this.txtLightPrOn = new System.Windows.Forms.TextBox();
		this.label11 = new System.Windows.Forms.Label();
		this.gP4 = new System.Windows.Forms.GroupBox();
		this.btnSend = new System.Windows.Forms.Button();
		this.txtP4_8 = new System.Windows.Forms.TextBox();
		this.txtP4_7 = new System.Windows.Forms.TextBox();
		this.txtP4_6 = new System.Windows.Forms.TextBox();
		this.txtP4_5 = new System.Windows.Forms.TextBox();
		this.txtP4_4 = new System.Windows.Forms.TextBox();
		this.txtP4_3 = new System.Windows.Forms.TextBox();
		this.txtP4_2 = new System.Windows.Forms.TextBox();
		this.txtP4_1 = new System.Windows.Forms.TextBox();
		this.rbtnPowerTemperature = new System.Windows.Forms.RadioButton();
		this.rbtn48Voltage = new System.Windows.Forms.RadioButton();
		this.rbtnNone2 = new System.Windows.Forms.RadioButton();
		this.rbtnNone1 = new System.Windows.Forms.RadioButton();
		this.rbtnHealPower = new System.Windows.Forms.RadioButton();
		this.rbtn48Current = new System.Windows.Forms.RadioButton();
		this.rbtnForwardPower = new System.Windows.Forms.RadioButton();
		this.btnRefPower = new System.Windows.Forms.RadioButton();
		this.label19 = new System.Windows.Forms.Label();
		this.txtSLoadPre = new System.Windows.Forms.TextBox();
		this.label36 = new System.Windows.Forms.Label();
		this.label37 = new System.Windows.Forms.Label();
		this.txtSTunePre = new System.Windows.Forms.TextBox();
		this.txtSShield = new System.Windows.Forms.TextBox();
		this.label38 = new System.Windows.Forms.Label();
		this.txtLoadAuto = new System.Windows.Forms.TextBox();
		this.label39 = new System.Windows.Forms.Label();
		this.txtTuneAuto = new System.Windows.Forms.TextBox();
		this.label46 = new System.Windows.Forms.Label();
		this.txtSMPS = new System.Windows.Forms.TextBox();
		this.groupBox1 = new System.Windows.Forms.GroupBox();
		this.btnSaveCapacity = new System.Windows.Forms.Button();
		this.btnCloseLightPr = new System.Windows.Forms.Button();
		this.btnClearEXTI = new System.Windows.Forms.Button();
		this.label48 = new System.Windows.Forms.Label();
		this.label45 = new System.Windows.Forms.Label();
		this.btnLightPrOn = new System.Windows.Forms.Button();
		this.btnOpenMPS = new System.Windows.Forms.Button();
		this.btnCloseMPS = new System.Windows.Forms.Button();
		this.btnOpenShield = new System.Windows.Forms.Button();
		this.btnCloseShield = new System.Windows.Forms.Button();
		this.btnOpenTuneAuto = new System.Windows.Forms.Button();
		this.btnCloseTuneAuto = new System.Windows.Forms.Button();
		this.btnOpenLoadAuto = new System.Windows.Forms.Button();
		this.btnCloseLoadAuto = new System.Windows.Forms.Button();
		this.btnOpenTunePre = new System.Windows.Forms.Button();
		this.btnCloseTunePre = new System.Windows.Forms.Button();
		this.btnOpenLoadPre = new System.Windows.Forms.Button();
		this.btnCloseLoadPre = new System.Windows.Forms.Button();
		this.groupBox2 = new System.Windows.Forms.GroupBox();
		this.label61 = new System.Windows.Forms.Label();
		this.label60 = new System.Windows.Forms.Label();
		this.label59 = new System.Windows.Forms.Label();
		this.label56 = new System.Windows.Forms.Label();
		this.label58 = new System.Windows.Forms.Label();
		this.label55 = new System.Windows.Forms.Label();
		this.txtErr7 = new System.Windows.Forms.TextBox();
		this.label57 = new System.Windows.Forms.Label();
		this.txtErr5 = new System.Windows.Forms.TextBox();
		this.label49 = new System.Windows.Forms.Label();
		this.txtErr8 = new System.Windows.Forms.TextBox();
		this.txtErr4 = new System.Windows.Forms.TextBox();
		this.txtErr6 = new System.Windows.Forms.TextBox();
		this.txtErr3 = new System.Windows.Forms.TextBox();
		this.txtErr2 = new System.Windows.Forms.TextBox();
		this.txtErr1 = new System.Windows.Forms.TextBox();
		this.gbCurve = new System.Windows.Forms.GroupBox();
		this.groupBox5 = new System.Windows.Forms.GroupBox();
		this.lblForward = new System.Windows.Forms.Label();
		this.lblBack = new System.Windows.Forms.Label();
		this.groupBox3 = new System.Windows.Forms.GroupBox();
		this.chkwt = new System.Windows.Forms.CheckBox();
		this.chkit = new System.Windows.Forms.CheckBox();
		this.chkrp = new System.Windows.Forms.CheckBox();
		this.chkfp = new System.Windows.Forms.CheckBox();
		this.btnRecord = new System.Windows.Forms.Button();
		this.btnClear = new System.Windows.Forms.Button();
		this.btnSave = new System.Windows.Forms.Button();
		this.graph = new ZedGraph.ZedGraphControl();
		this.tabControl1 = new System.Windows.Forms.TabControl();
		this.tabPage1 = new System.Windows.Forms.TabPage();
		this.tabPage3 = new System.Windows.Forms.TabPage();
		this.panel1 = new System.Windows.Forms.Panel();
		this.groupBox6 = new System.Windows.Forms.GroupBox();
		this.comboBox1 = new System.Windows.Forms.ComboBox();
		this.txtoldAddress1 = new System.Windows.Forms.TextBox();
		this.txtnewAddress1 = new System.Windows.Forms.TextBox();
		this.label65 = new System.Windows.Forms.Label();
		this.label64 = new System.Windows.Forms.Label();
		this.label63 = new System.Windows.Forms.Label();
		this.btnMFCAddressSet = new System.Windows.Forms.Button();
		this.tabPage2 = new System.Windows.Forms.TabPage();
		this.gIon.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.nudPeri).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudZ).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudY).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudX).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudAppendix1).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudCool).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudAux).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudNeub).BeginInit();
		this.gIonSource.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.nudPower).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudLoadPos).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudTunePos).BeginInit();
		this.groupBox4.SuspendLayout();
		this.gP4.SuspendLayout();
		this.groupBox1.SuspendLayout();
		this.groupBox2.SuspendLayout();
		this.gbCurve.SuspendLayout();
		this.groupBox5.SuspendLayout();
		this.groupBox3.SuspendLayout();
		this.tabControl1.SuspendLayout();
		this.tabPage1.SuspendLayout();
		this.tabPage3.SuspendLayout();
		this.panel1.SuspendLayout();
		this.groupBox6.SuspendLayout();
		this.tabPage2.SuspendLayout();
		base.SuspendLayout();
		this.gIon.Controls.Add(this.nudPeri);
		this.gIon.Controls.Add(this.btnClosePeritaltic);
		this.gIon.Controls.Add(this.btnOpenPeritaltic);
		this.gIon.Controls.Add(this.label30);
		this.gIon.Controls.Add(this.btnResetAxis);
		this.gIon.Controls.Add(this.btnZ);
		this.gIon.Controls.Add(this.btnY);
		this.gIon.Controls.Add(this.btnX);
		this.gIon.Controls.Add(this.nudZ);
		this.gIon.Controls.Add(this.nudY);
		this.gIon.Controls.Add(this.nudX);
		this.gIon.Controls.Add(this.label29);
		this.gIon.Controls.Add(this.label31);
		this.gIon.Controls.Add(this.label32);
		this.gIon.Controls.Add(this.nudAppendix1);
		this.gIon.Controls.Add(this.nudCool);
		this.gIon.Controls.Add(this.nudAux);
		this.gIon.Controls.Add(this.nudNeub);
		this.gIon.Controls.Add(this.btnAppendix1Close);
		this.gIon.Controls.Add(this.btnCloseCool);
		this.gIon.Controls.Add(this.btnCloseAux);
		this.gIon.Controls.Add(this.btnCloseNebu);
		this.gIon.Controls.Add(this.btnAppendix1Open);
		this.gIon.Controls.Add(this.btnCool);
		this.gIon.Controls.Add(this.btnAux);
		this.gIon.Controls.Add(this.btnOpenNebu);
		this.gIon.Controls.Add(this.lblSAppendix1);
		this.gIon.Controls.Add(this.label3);
		this.gIon.Controls.Add(this.label2);
		this.gIon.Controls.Add(this.label1);
		this.gIon.Location = new System.Drawing.Point(1026, 10);
		this.gIon.Margin = new System.Windows.Forms.Padding(4);
		this.gIon.Name = "gIon";
		this.gIon.Padding = new System.Windows.Forms.Padding(4);
		this.gIon.Size = new System.Drawing.Size(419, 336);
		this.gIon.TabIndex = 0;
		this.gIon.TabStop = false;
		this.gIon.Text = "等离子体";
		this.nudPeri.DecimalPlaces = 2;
		this.nudPeri.Location = new System.Drawing.Point(131, 170);
		this.nudPeri.Margin = new System.Windows.Forms.Padding(4);
		this.nudPeri.Maximum = new decimal(new int[4] { 80, 0, 0, 0 });
		this.nudPeri.Name = "nudPeri";
		this.nudPeri.Size = new System.Drawing.Size(101, 25);
		this.nudPeri.TabIndex = 28;
		this.nudPeri.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.btnClosePeritaltic.Location = new System.Drawing.Point(317, 170);
		this.btnClosePeritaltic.Margin = new System.Windows.Forms.Padding(4);
		this.btnClosePeritaltic.Name = "btnClosePeritaltic";
		this.btnClosePeritaltic.Size = new System.Drawing.Size(64, 29);
		this.btnClosePeritaltic.TabIndex = 27;
		this.btnClosePeritaltic.Text = "关";
		this.btnClosePeritaltic.UseVisualStyleBackColor = true;
		this.btnClosePeritaltic.Click += new System.EventHandler(btnClosePeritaltic_Click);
		this.btnOpenPeritaltic.Location = new System.Drawing.Point(245, 170);
		this.btnOpenPeritaltic.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenPeritaltic.Name = "btnOpenPeritaltic";
		this.btnOpenPeritaltic.Size = new System.Drawing.Size(64, 29);
		this.btnOpenPeritaltic.TabIndex = 26;
		this.btnOpenPeritaltic.Text = "开";
		this.btnOpenPeritaltic.UseVisualStyleBackColor = true;
		this.btnOpenPeritaltic.Click += new System.EventHandler(btnOpenPeritaltic_Click);
		this.label30.Location = new System.Drawing.Point(16, 174);
		this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label30.Name = "label30";
		this.label30.Size = new System.Drawing.Size(107, 15);
		this.label30.TabIndex = 25;
		this.label30.Text = "蠕动泵";
		this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.btnResetAxis.Location = new System.Drawing.Point(317, 214);
		this.btnResetAxis.Margin = new System.Windows.Forms.Padding(4);
		this.btnResetAxis.Name = "btnResetAxis";
		this.btnResetAxis.Size = new System.Drawing.Size(64, 104);
		this.btnResetAxis.TabIndex = 24;
		this.btnResetAxis.Text = "复位三维平台";
		this.btnResetAxis.UseVisualStyleBackColor = true;
		this.btnResetAxis.Click += new System.EventHandler(btnResetAxis_Click);
		this.btnZ.Location = new System.Drawing.Point(245, 290);
		this.btnZ.Margin = new System.Windows.Forms.Padding(4);
		this.btnZ.Name = "btnZ";
		this.btnZ.Size = new System.Drawing.Size(64, 29);
		this.btnZ.TabIndex = 23;
		this.btnZ.Text = "设置";
		this.btnZ.UseVisualStyleBackColor = true;
		this.btnZ.Click += new System.EventHandler(btnZ_Click);
		this.btnY.Location = new System.Drawing.Point(245, 252);
		this.btnY.Margin = new System.Windows.Forms.Padding(4);
		this.btnY.Name = "btnY";
		this.btnY.Size = new System.Drawing.Size(64, 29);
		this.btnY.TabIndex = 22;
		this.btnY.Text = "设置";
		this.btnY.UseVisualStyleBackColor = true;
		this.btnY.Click += new System.EventHandler(btnY_Click);
		this.btnX.Location = new System.Drawing.Point(245, 212);
		this.btnX.Margin = new System.Windows.Forms.Padding(4);
		this.btnX.Name = "btnX";
		this.btnX.Size = new System.Drawing.Size(64, 29);
		this.btnX.TabIndex = 21;
		this.btnX.Text = "设置";
		this.btnX.UseVisualStyleBackColor = true;
		this.btnX.Click += new System.EventHandler(btnX_Click);
		this.nudZ.DecimalPlaces = 2;
		this.nudZ.Increment = new decimal(new int[4] { 1, 0, 0, 65536 });
		this.nudZ.Location = new System.Drawing.Point(131, 290);
		this.nudZ.Margin = new System.Windows.Forms.Padding(4);
		this.nudZ.Maximum = new decimal(new int[4] { 21, 0, 0, 0 });
		this.nudZ.Minimum = new decimal(new int[4] { 1, 0, 0, -2147483648 });
		this.nudZ.Name = "nudZ";
		this.nudZ.Size = new System.Drawing.Size(101, 25);
		this.nudZ.TabIndex = 20;
		this.nudZ.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudZ.ValueChanged += new System.EventHandler(nudZ_ValueChanged);
		this.nudY.DecimalPlaces = 2;
		this.nudY.Increment = new decimal(new int[4] { 1, 0, 0, 65536 });
		this.nudY.Location = new System.Drawing.Point(131, 252);
		this.nudY.Margin = new System.Windows.Forms.Padding(4);
		this.nudY.Maximum = new decimal(new int[4] { 21, 0, 0, 0 });
		this.nudY.Minimum = new decimal(new int[4] { 1, 0, 0, -2147483648 });
		this.nudY.Name = "nudY";
		this.nudY.Size = new System.Drawing.Size(101, 25);
		this.nudY.TabIndex = 19;
		this.nudY.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudX.DecimalPlaces = 2;
		this.nudX.Increment = new decimal(new int[4] { 1, 0, 0, 65536 });
		this.nudX.Location = new System.Drawing.Point(131, 215);
		this.nudX.Margin = new System.Windows.Forms.Padding(4);
		this.nudX.Maximum = new decimal(new int[4] { 21, 0, 0, 0 });
		this.nudX.Minimum = new decimal(new int[4] { 1, 0, 0, -2147483648 });
		this.nudX.Name = "nudX";
		this.nudX.Size = new System.Drawing.Size(101, 25);
		this.nudX.TabIndex = 18;
		this.nudX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudX.ValueChanged += new System.EventHandler(nudX_ValueChanged);
		this.label29.Location = new System.Drawing.Point(16, 258);
		this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label29.Name = "label29";
		this.label29.Size = new System.Drawing.Size(107, 15);
		this.label29.TabIndex = 17;
		this.label29.Text = "采样深度";
		this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label31.Location = new System.Drawing.Point(16, 294);
		this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label31.Name = "label31";
		this.label31.Size = new System.Drawing.Size(107, 15);
		this.label31.TabIndex = 16;
		this.label31.Text = "垂直位置";
		this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label32.Location = new System.Drawing.Point(16, 219);
		this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label32.Name = "label32";
		this.label32.Size = new System.Drawing.Size(107, 15);
		this.label32.TabIndex = 15;
		this.label32.Text = "水平位置";
		this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.nudAppendix1.DecimalPlaces = 2;
		this.nudAppendix1.Increment = new decimal(new int[4] { 1, 0, 0, 131072 });
		this.nudAppendix1.Location = new System.Drawing.Point(131, 132);
		this.nudAppendix1.Margin = new System.Windows.Forms.Padding(4);
		this.nudAppendix1.Maximum = new decimal(new int[4] { 2, 0, 0, 0 });
		this.nudAppendix1.Name = "nudAppendix1";
		this.nudAppendix1.Size = new System.Drawing.Size(101, 25);
		this.nudAppendix1.TabIndex = 14;
		this.nudAppendix1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudCool.DecimalPlaces = 2;
		this.nudCool.Location = new System.Drawing.Point(129, 99);
		this.nudCool.Margin = new System.Windows.Forms.Padding(4);
		this.nudCool.Maximum = new decimal(new int[4] { 20, 0, 0, 0 });
		this.nudCool.Name = "nudCool";
		this.nudCool.Size = new System.Drawing.Size(101, 25);
		this.nudCool.TabIndex = 14;
		this.nudCool.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudAux.DecimalPlaces = 2;
		this.nudAux.Increment = new decimal(new int[4] { 1, 0, 0, 65536 });
		this.nudAux.Location = new System.Drawing.Point(129, 61);
		this.nudAux.Margin = new System.Windows.Forms.Padding(4);
		this.nudAux.Maximum = new decimal(new int[4] { 2, 0, 0, 0 });
		this.nudAux.Name = "nudAux";
		this.nudAux.Size = new System.Drawing.Size(101, 25);
		this.nudAux.TabIndex = 13;
		this.nudAux.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudNeub.DecimalPlaces = 2;
		this.nudNeub.Increment = new decimal(new int[4] { 1, 0, 0, 65536 });
		this.nudNeub.Location = new System.Drawing.Point(129, 24);
		this.nudNeub.Margin = new System.Windows.Forms.Padding(4);
		this.nudNeub.Maximum = new decimal(new int[4] { 2, 0, 0, 0 });
		this.nudNeub.Name = "nudNeub";
		this.nudNeub.Size = new System.Drawing.Size(101, 25);
		this.nudNeub.TabIndex = 12;
		this.nudNeub.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.btnAppendix1Close.Location = new System.Drawing.Point(317, 132);
		this.btnAppendix1Close.Margin = new System.Windows.Forms.Padding(4);
		this.btnAppendix1Close.Name = "btnAppendix1Close";
		this.btnAppendix1Close.Size = new System.Drawing.Size(64, 29);
		this.btnAppendix1Close.TabIndex = 11;
		this.btnAppendix1Close.Text = "关";
		this.btnAppendix1Close.UseVisualStyleBackColor = true;
		this.btnAppendix1Close.Click += new System.EventHandler(btnAppendix1Close_Click);
		this.btnCloseCool.Location = new System.Drawing.Point(316, 99);
		this.btnCloseCool.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseCool.Name = "btnCloseCool";
		this.btnCloseCool.Size = new System.Drawing.Size(64, 29);
		this.btnCloseCool.TabIndex = 11;
		this.btnCloseCool.Text = "关";
		this.btnCloseCool.UseVisualStyleBackColor = true;
		this.btnCloseCool.Click += new System.EventHandler(btnCloseCool_Click);
		this.btnCloseAux.Location = new System.Drawing.Point(316, 61);
		this.btnCloseAux.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseAux.Name = "btnCloseAux";
		this.btnCloseAux.Size = new System.Drawing.Size(64, 29);
		this.btnCloseAux.TabIndex = 10;
		this.btnCloseAux.Text = "关";
		this.btnCloseAux.UseVisualStyleBackColor = true;
		this.btnCloseAux.Click += new System.EventHandler(btnCloseAux_Click);
		this.btnCloseNebu.Location = new System.Drawing.Point(316, 24);
		this.btnCloseNebu.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseNebu.Name = "btnCloseNebu";
		this.btnCloseNebu.Size = new System.Drawing.Size(64, 29);
		this.btnCloseNebu.TabIndex = 9;
		this.btnCloseNebu.Text = "关";
		this.btnCloseNebu.UseVisualStyleBackColor = true;
		this.btnCloseNebu.Click += new System.EventHandler(btnCloseNebu_Click);
		this.btnAppendix1Open.Location = new System.Drawing.Point(245, 132);
		this.btnAppendix1Open.Margin = new System.Windows.Forms.Padding(4);
		this.btnAppendix1Open.Name = "btnAppendix1Open";
		this.btnAppendix1Open.Size = new System.Drawing.Size(64, 29);
		this.btnAppendix1Open.TabIndex = 8;
		this.btnAppendix1Open.Text = "开";
		this.btnAppendix1Open.UseVisualStyleBackColor = true;
		this.btnAppendix1Open.Click += new System.EventHandler(btnAppendix1Open_Click);
		this.btnCool.Location = new System.Drawing.Point(244, 99);
		this.btnCool.Margin = new System.Windows.Forms.Padding(4);
		this.btnCool.Name = "btnCool";
		this.btnCool.Size = new System.Drawing.Size(64, 29);
		this.btnCool.TabIndex = 8;
		this.btnCool.Text = "开";
		this.btnCool.UseVisualStyleBackColor = true;
		this.btnCool.Click += new System.EventHandler(btnCool_Click);
		this.btnAux.Location = new System.Drawing.Point(244, 61);
		this.btnAux.Margin = new System.Windows.Forms.Padding(4);
		this.btnAux.Name = "btnAux";
		this.btnAux.Size = new System.Drawing.Size(64, 29);
		this.btnAux.TabIndex = 7;
		this.btnAux.Text = "开";
		this.btnAux.UseVisualStyleBackColor = true;
		this.btnAux.Click += new System.EventHandler(btnAux_Click);
		this.btnOpenNebu.Location = new System.Drawing.Point(244, 24);
		this.btnOpenNebu.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenNebu.Name = "btnOpenNebu";
		this.btnOpenNebu.Size = new System.Drawing.Size(64, 29);
		this.btnOpenNebu.TabIndex = 6;
		this.btnOpenNebu.Text = "开";
		this.btnOpenNebu.UseVisualStyleBackColor = true;
		this.btnOpenNebu.Click += new System.EventHandler(btnOpenNebu_Click);
		this.lblSAppendix1.Location = new System.Drawing.Point(16, 136);
		this.lblSAppendix1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblSAppendix1.Name = "lblSAppendix1";
		this.lblSAppendix1.Size = new System.Drawing.Size(107, 15);
		this.lblSAppendix1.TabIndex = 2;
		this.lblSAppendix1.Text = "稀释气";
		this.lblSAppendix1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label3.Location = new System.Drawing.Point(15, 102);
		this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label3.Name = "label3";
		this.label3.Size = new System.Drawing.Size(107, 15);
		this.label3.TabIndex = 2;
		this.label3.Text = "冷却气";
		this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label2.Location = new System.Drawing.Point(15, 65);
		this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label2.Name = "label2";
		this.label2.Size = new System.Drawing.Size(107, 15);
		this.label2.TabIndex = 1;
		this.label2.Text = "辅助气";
		this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label1.Location = new System.Drawing.Point(15, 28);
		this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label1.Name = "label1";
		this.label1.Size = new System.Drawing.Size(107, 15);
		this.label1.TabIndex = 0;
		this.label1.Text = "载气";
		this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.gIonSource.Controls.Add(this.btnSetLoad);
		this.gIonSource.Controls.Add(this.btnSetTune);
		this.gIonSource.Controls.Add(this.btnClosePlasma);
		this.gIonSource.Controls.Add(this.label54);
		this.gIonSource.Controls.Add(this.label47);
		this.gIonSource.Controls.Add(this.label53);
		this.gIonSource.Controls.Add(this.btnSetPower);
		this.gIonSource.Controls.Add(this.nudPower);
		this.gIonSource.Controls.Add(this.nudLoadPos);
		this.gIonSource.Controls.Add(this.label52);
		this.gIonSource.Controls.Add(this.nudTunePos);
		this.gIonSource.Controls.Add(this.btnPlasmaOff);
		this.gIonSource.Controls.Add(this.btnPlasmaOn);
		this.gIonSource.Controls.Add(this.label20);
		this.gIonSource.Controls.Add(this.btnCloseIgnite);
		this.gIonSource.Controls.Add(this.label51);
		this.gIonSource.Controls.Add(this.txtSRFON);
		this.gIonSource.Controls.Add(this.btnOpenIgnite);
		this.gIonSource.Controls.Add(this.txtSIgnite);
		this.gIonSource.Controls.Add(this.label43);
		this.gIonSource.Controls.Add(this.label50);
		this.gIonSource.Controls.Add(this.btnCloseRFOn);
		this.gIonSource.Controls.Add(this.btnOpenRFON);
		this.gIonSource.ForeColor = System.Drawing.Color.Red;
		this.gIonSource.Location = new System.Drawing.Point(1026, 353);
		this.gIonSource.Margin = new System.Windows.Forms.Padding(4);
		this.gIonSource.Name = "gIonSource";
		this.gIonSource.Padding = new System.Windows.Forms.Padding(4);
		this.gIonSource.Size = new System.Drawing.Size(419, 296);
		this.gIonSource.TabIndex = 12;
		this.gIonSource.TabStop = false;
		this.gIonSource.Text = "固态光源!!";
		this.btnSetLoad.Location = new System.Drawing.Point(257, 184);
		this.btnSetLoad.Margin = new System.Windows.Forms.Padding(4);
		this.btnSetLoad.Name = "btnSetLoad";
		this.btnSetLoad.Size = new System.Drawing.Size(64, 29);
		this.btnSetLoad.TabIndex = 63;
		this.btnSetLoad.Text = "设置";
		this.btnSetLoad.UseVisualStyleBackColor = true;
		this.btnSetLoad.Click += new System.EventHandler(btnSetLoad_Click);
		this.btnSetTune.Location = new System.Drawing.Point(257, 146);
		this.btnSetTune.Margin = new System.Windows.Forms.Padding(4);
		this.btnSetTune.Name = "btnSetTune";
		this.btnSetTune.Size = new System.Drawing.Size(64, 29);
		this.btnSetTune.TabIndex = 63;
		this.btnSetTune.Text = "设置";
		this.btnSetTune.UseVisualStyleBackColor = true;
		this.btnSetTune.Click += new System.EventHandler(btnSetTune_Click);
		this.btnClosePlasma.Location = new System.Drawing.Point(79, 225);
		this.btnClosePlasma.Margin = new System.Windows.Forms.Padding(4);
		this.btnClosePlasma.Name = "btnClosePlasma";
		this.btnClosePlasma.Size = new System.Drawing.Size(136, 28);
		this.btnClosePlasma.TabIndex = 26;
		this.btnClosePlasma.Text = "关闭等离子体";
		this.btnClosePlasma.UseVisualStyleBackColor = true;
		this.btnClosePlasma.Click += new System.EventHandler(btnClosePlasma_Click);
		this.label54.AutoSize = true;
		this.label54.Location = new System.Drawing.Point(239, 42);
		this.label54.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label54.Name = "label54";
		this.label54.Size = new System.Drawing.Size(15, 15);
		this.label54.TabIndex = 24;
		this.label54.Text = "W";
		this.label47.Location = new System.Drawing.Point(16, 40);
		this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label47.Name = "label47";
		this.label47.Size = new System.Drawing.Size(107, 15);
		this.label47.TabIndex = 16;
		this.label47.Text = "功率";
		this.label47.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label53.AutoSize = true;
		this.label53.Location = new System.Drawing.Point(241, 190);
		this.label53.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label53.Name = "label53";
		this.label53.Size = new System.Drawing.Size(15, 15);
		this.label53.TabIndex = 24;
		this.label53.Text = "%";
		this.btnSetPower.Location = new System.Drawing.Point(335, 36);
		this.btnSetPower.Margin = new System.Windows.Forms.Padding(4);
		this.btnSetPower.Name = "btnSetPower";
		this.btnSetPower.Size = new System.Drawing.Size(64, 29);
		this.btnSetPower.TabIndex = 22;
		this.btnSetPower.Text = "设置";
		this.btnSetPower.UseVisualStyleBackColor = true;
		this.btnSetPower.Click += new System.EventHandler(btnSetPower_Click);
		this.nudPower.Increment = new decimal(new int[4] { 10, 0, 0, 0 });
		this.nudPower.Location = new System.Drawing.Point(129, 39);
		this.nudPower.Margin = new System.Windows.Forms.Padding(4);
		this.nudPower.Maximum = new decimal(new int[4] { 2000, 0, 0, 0 });
		this.nudPower.Name = "nudPower";
		this.nudPower.Size = new System.Drawing.Size(101, 25);
		this.nudPower.TabIndex = 20;
		this.nudPower.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudPower.ValueChanged += new System.EventHandler(nudZ_ValueChanged);
		this.nudLoadPos.Location = new System.Drawing.Point(129, 186);
		this.nudLoadPos.Margin = new System.Windows.Forms.Padding(4);
		this.nudLoadPos.Name = "nudLoadPos";
		this.nudLoadPos.Size = new System.Drawing.Size(101, 25);
		this.nudLoadPos.TabIndex = 20;
		this.nudLoadPos.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.nudLoadPos.ValueChanged += new System.EventHandler(nudZ_ValueChanged);
		this.label52.AutoSize = true;
		this.label52.Location = new System.Drawing.Point(239, 155);
		this.label52.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label52.Name = "label52";
		this.label52.Size = new System.Drawing.Size(15, 15);
		this.label52.TabIndex = 24;
		this.label52.Text = "%";
		this.nudTunePos.Location = new System.Drawing.Point(129, 149);
		this.nudTunePos.Margin = new System.Windows.Forms.Padding(4);
		this.nudTunePos.Name = "nudTunePos";
		this.nudTunePos.Size = new System.Drawing.Size(101, 25);
		this.nudTunePos.TabIndex = 19;
		this.nudTunePos.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.btnPlasmaOff.Location = new System.Drawing.Point(329, 224);
		this.btnPlasmaOff.Margin = new System.Windows.Forms.Padding(4);
		this.btnPlasmaOff.Name = "btnPlasmaOff";
		this.btnPlasmaOff.Size = new System.Drawing.Size(64, 29);
		this.btnPlasmaOff.TabIndex = 21;
		this.btnPlasmaOff.Text = "熄火";
		this.btnPlasmaOff.UseVisualStyleBackColor = true;
		this.btnPlasmaOff.Click += new System.EventHandler(btnPlasmaOff_Click);
		this.btnPlasmaOn.Location = new System.Drawing.Point(239, 224);
		this.btnPlasmaOn.Margin = new System.Windows.Forms.Padding(4);
		this.btnPlasmaOn.Name = "btnPlasmaOn";
		this.btnPlasmaOn.Size = new System.Drawing.Size(64, 29);
		this.btnPlasmaOn.TabIndex = 21;
		this.btnPlasmaOn.Text = "点火";
		this.btnPlasmaOn.UseVisualStyleBackColor = true;
		this.btnPlasmaOn.Click += new System.EventHandler(btnPlasmaOn_Click);
		this.label20.Location = new System.Drawing.Point(16, 80);
		this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label20.Name = "label20";
		this.label20.Size = new System.Drawing.Size(107, 15);
		this.label20.TabIndex = 27;
		this.label20.Text = "点火标志";
		this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.btnCloseIgnite.Location = new System.Drawing.Point(335, 72);
		this.btnCloseIgnite.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseIgnite.Name = "btnCloseIgnite";
		this.btnCloseIgnite.Size = new System.Drawing.Size(64, 29);
		this.btnCloseIgnite.TabIndex = 9;
		this.btnCloseIgnite.Text = "关";
		this.btnCloseIgnite.UseVisualStyleBackColor = true;
		this.btnCloseIgnite.Click += new System.EventHandler(btnCloseIgnite_Click);
		this.label51.Location = new System.Drawing.Point(16, 190);
		this.label51.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label51.Name = "label51";
		this.label51.Size = new System.Drawing.Size(107, 15);
		this.label51.TabIndex = 49;
		this.label51.Text = "LOAD位置";
		this.label51.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSRFON.Location = new System.Drawing.Point(129, 114);
		this.txtSRFON.Margin = new System.Windows.Forms.Padding(4);
		this.txtSRFON.Name = "txtSRFON";
		this.txtSRFON.ReadOnly = true;
		this.txtSRFON.Size = new System.Drawing.Size(100, 25);
		this.txtSRFON.TabIndex = 62;
		this.txtSRFON.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.btnOpenIgnite.Location = new System.Drawing.Point(259, 74);
		this.btnOpenIgnite.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenIgnite.Name = "btnOpenIgnite";
		this.btnOpenIgnite.Size = new System.Drawing.Size(64, 29);
		this.btnOpenIgnite.TabIndex = 6;
		this.btnOpenIgnite.Text = "开";
		this.btnOpenIgnite.UseVisualStyleBackColor = true;
		this.btnOpenIgnite.Click += new System.EventHandler(btnOpenIgnite_Click);
		this.txtSIgnite.Location = new System.Drawing.Point(129, 76);
		this.txtSIgnite.Margin = new System.Windows.Forms.Padding(4);
		this.txtSIgnite.Name = "txtSIgnite";
		this.txtSIgnite.ReadOnly = true;
		this.txtSIgnite.Size = new System.Drawing.Size(100, 25);
		this.txtSIgnite.TabIndex = 28;
		this.txtSIgnite.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label43.Location = new System.Drawing.Point(16, 120);
		this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label43.Name = "label43";
		this.label43.Size = new System.Drawing.Size(107, 15);
		this.label43.TabIndex = 61;
		this.label43.Text = "RFON标志";
		this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label50.Location = new System.Drawing.Point(16, 152);
		this.label50.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label50.Name = "label50";
		this.label50.Size = new System.Drawing.Size(107, 15);
		this.label50.TabIndex = 47;
		this.label50.Text = "TUNE位置";
		this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.btnCloseRFOn.Location = new System.Drawing.Point(335, 111);
		this.btnCloseRFOn.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseRFOn.Name = "btnCloseRFOn";
		this.btnCloseRFOn.Size = new System.Drawing.Size(64, 29);
		this.btnCloseRFOn.TabIndex = 9;
		this.btnCloseRFOn.Text = "关";
		this.btnCloseRFOn.UseVisualStyleBackColor = true;
		this.btnCloseRFOn.Click += new System.EventHandler(btnCloseRF_Click);
		this.btnOpenRFON.Location = new System.Drawing.Point(257, 111);
		this.btnOpenRFON.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenRFON.Name = "btnOpenRFON";
		this.btnOpenRFON.Size = new System.Drawing.Size(64, 29);
		this.btnOpenRFON.TabIndex = 6;
		this.btnOpenRFON.Text = "开";
		this.btnOpenRFON.UseVisualStyleBackColor = true;
		this.btnOpenRFON.Click += new System.EventHandler(btnOpenRF_Click);
		this.groupBox4.Controls.Add(this.txtRFFailure);
		this.groupBox4.Controls.Add(this.label17);
		this.groupBox4.Controls.Add(this.label10);
		this.groupBox4.Controls.Add(this.label6);
		this.groupBox4.Controls.Add(this.label5);
		this.groupBox4.Controls.Add(this.label4);
		this.groupBox4.Controls.Add(this.txtInterfaceTemp);
		this.groupBox4.Controls.Add(this.label18);
		this.groupBox4.Controls.Add(this.label44);
		this.groupBox4.Controls.Add(this.txtPerist);
		this.groupBox4.Controls.Add(this.label42);
		this.groupBox4.Controls.Add(this.txtSZ);
		this.groupBox4.Controls.Add(this.label33);
		this.groupBox4.Controls.Add(this.txtSY);
		this.groupBox4.Controls.Add(this.label34);
		this.groupBox4.Controls.Add(this.txtSX);
		this.groupBox4.Controls.Add(this.label35);
		this.groupBox4.Controls.Add(this.txtSAr);
		this.groupBox4.Controls.Add(this.label28);
		this.groupBox4.Controls.Add(this.txtWindTemp);
		this.groupBox4.Controls.Add(this.txtForw);
		this.groupBox4.Controls.Add(this.label27);
		this.groupBox4.Controls.Add(this.label25);
		this.groupBox4.Controls.Add(this.txtWaterTemp);
		this.groupBox4.Controls.Add(this.txtRef);
		this.groupBox4.Controls.Add(this.label26);
		this.groupBox4.Controls.Add(this.label24);
		this.groupBox4.Controls.Add(this.txtSAppendix1);
		this.groupBox4.Controls.Add(this.label62);
		this.groupBox4.Controls.Add(this.txtSCool);
		this.groupBox4.Controls.Add(this.label23);
		this.groupBox4.Controls.Add(this.txtSAux);
		this.groupBox4.Controls.Add(this.label22);
		this.groupBox4.Controls.Add(this.txtSNeub);
		this.groupBox4.Controls.Add(this.label21);
		this.groupBox4.Controls.Add(this.txtSWater);
		this.groupBox4.Controls.Add(this.label16);
		this.groupBox4.Controls.Add(this.txtSCoolSwitch);
		this.groupBox4.Controls.Add(this.label15);
		this.groupBox4.Controls.Add(this.txtSCoolGas);
		this.groupBox4.Controls.Add(this.label14);
		this.groupBox4.Controls.Add(this.txtPositive24);
		this.groupBox4.Controls.Add(this.txtNegative24);
		this.groupBox4.Controls.Add(this.txtCLRIntLock);
		this.groupBox4.Controls.Add(this.txtPowerSwitch);
		this.groupBox4.Controls.Add(this.txtLightFault);
		this.groupBox4.Controls.Add(this.txtSDoor);
		this.groupBox4.Controls.Add(this.label9);
		this.groupBox4.Controls.Add(this.lblNegative24);
		this.groupBox4.Controls.Add(this.label8);
		this.groupBox4.Controls.Add(this.lblPowerSwitch);
		this.groupBox4.Controls.Add(this.label7);
		this.groupBox4.Controls.Add(this.label13);
		this.groupBox4.Location = new System.Drawing.Point(8, 10);
		this.groupBox4.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox4.Name = "groupBox4";
		this.groupBox4.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox4.Size = new System.Drawing.Size(569, 514);
		this.groupBox4.TabIndex = 13;
		this.groupBox4.TabStop = false;
		this.groupBox4.Text = "状态";
		this.txtRFFailure.Location = new System.Drawing.Point(160, 472);
		this.txtRFFailure.Margin = new System.Windows.Forms.Padding(4);
		this.txtRFFailure.Name = "txtRFFailure";
		this.txtRFFailure.ReadOnly = true;
		this.txtRFFailure.Size = new System.Drawing.Size(61, 25);
		this.txtRFFailure.TabIndex = 62;
		this.txtRFFailure.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label17.AutoSize = true;
		this.label17.Location = new System.Drawing.Point(231, 438);
		this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label17.Name = "label17";
		this.label17.Size = new System.Drawing.Size(15, 15);
		this.label17.TabIndex = 24;
		this.label17.Text = "W";
		this.label10.AutoSize = true;
		this.label10.Location = new System.Drawing.Point(232, 401);
		this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label10.Name = "label10";
		this.label10.Size = new System.Drawing.Size(15, 15);
		this.label10.TabIndex = 24;
		this.label10.Text = "W";
		this.label6.AutoSize = true;
		this.label6.Location = new System.Drawing.Point(522, 477);
		this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label6.Name = "label6";
		this.label6.Size = new System.Drawing.Size(22, 15);
		this.label6.TabIndex = 24;
		this.label6.Text = "℃";
		this.label5.AutoSize = true;
		this.label5.Location = new System.Drawing.Point(522, 439);
		this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label5.Name = "label5";
		this.label5.Size = new System.Drawing.Size(22, 15);
		this.label5.TabIndex = 24;
		this.label5.Text = "℃";
		this.label4.AutoSize = true;
		this.label4.Location = new System.Drawing.Point(522, 401);
		this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label4.Name = "label4";
		this.label4.Size = new System.Drawing.Size(23, 15);
		this.label4.TabIndex = 24;
		this.label4.Text = "Hz";
		this.txtInterfaceTemp.Location = new System.Drawing.Point(455, 473);
		this.txtInterfaceTemp.Margin = new System.Windows.Forms.Padding(4);
		this.txtInterfaceTemp.Name = "txtInterfaceTemp";
		this.txtInterfaceTemp.ReadOnly = true;
		this.txtInterfaceTemp.Size = new System.Drawing.Size(61, 25);
		this.txtInterfaceTemp.TabIndex = 62;
		this.txtInterfaceTemp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label18.Location = new System.Drawing.Point(35, 479);
		this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label18.Name = "label18";
		this.label18.Size = new System.Drawing.Size(107, 15);
		this.label18.TabIndex = 61;
		this.label18.Text = "RF Failure";
		this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label44.Location = new System.Drawing.Point(286, 481);
		this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label44.Name = "label44";
		this.label44.Size = new System.Drawing.Size(160, 15);
		this.label44.TabIndex = 61;
		this.label44.Text = "接口温度";
		this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtPerist.Location = new System.Drawing.Point(454, 128);
		this.txtPerist.Margin = new System.Windows.Forms.Padding(4);
		this.txtPerist.Name = "txtPerist";
		this.txtPerist.ReadOnly = true;
		this.txtPerist.Size = new System.Drawing.Size(63, 25);
		this.txtPerist.TabIndex = 52;
		this.txtPerist.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label42.Location = new System.Drawing.Point(339, 134);
		this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label42.Name = "label42";
		this.label42.Size = new System.Drawing.Size(107, 15);
		this.label42.TabIndex = 51;
		this.label42.Text = "蠕动泵";
		this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSZ.Location = new System.Drawing.Point(455, 90);
		this.txtSZ.Margin = new System.Windows.Forms.Padding(4);
		this.txtSZ.Name = "txtSZ";
		this.txtSZ.ReadOnly = true;
		this.txtSZ.Size = new System.Drawing.Size(61, 25);
		this.txtSZ.TabIndex = 46;
		this.txtSZ.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label33.Location = new System.Drawing.Point(286, 61);
		this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label33.Name = "label33";
		this.label33.Size = new System.Drawing.Size(160, 15);
		this.label33.TabIndex = 45;
		this.label33.Text = "采样深度";
		this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSY.Location = new System.Drawing.Point(455, 53);
		this.txtSY.Margin = new System.Windows.Forms.Padding(4);
		this.txtSY.Name = "txtSY";
		this.txtSY.ReadOnly = true;
		this.txtSY.Size = new System.Drawing.Size(61, 25);
		this.txtSY.TabIndex = 44;
		this.txtSY.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label34.Location = new System.Drawing.Point(286, 101);
		this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label34.Name = "label34";
		this.label34.Size = new System.Drawing.Size(160, 15);
		this.label34.TabIndex = 43;
		this.label34.Text = "垂直位置";
		this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSX.Location = new System.Drawing.Point(455, 11);
		this.txtSX.Margin = new System.Windows.Forms.Padding(4);
		this.txtSX.Name = "txtSX";
		this.txtSX.ReadOnly = true;
		this.txtSX.Size = new System.Drawing.Size(61, 25);
		this.txtSX.TabIndex = 42;
		this.txtSX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label35.Location = new System.Drawing.Point(286, 18);
		this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label35.Name = "label35";
		this.label35.Size = new System.Drawing.Size(160, 15);
		this.label35.TabIndex = 41;
		this.label35.Text = "水平位置";
		this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSAr.Location = new System.Drawing.Point(454, 218);
		this.txtSAr.Margin = new System.Windows.Forms.Padding(4);
		this.txtSAr.Name = "txtSAr";
		this.txtSAr.ReadOnly = true;
		this.txtSAr.Size = new System.Drawing.Size(61, 25);
		this.txtSAr.TabIndex = 36;
		this.txtSAr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label28.Location = new System.Drawing.Point(286, 227);
		this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label28.Name = "label28";
		this.label28.Size = new System.Drawing.Size(160, 15);
		this.label28.TabIndex = 35;
		this.label28.Text = "总Ar压力";
		this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtWindTemp.Location = new System.Drawing.Point(455, 435);
		this.txtWindTemp.Margin = new System.Windows.Forms.Padding(4);
		this.txtWindTemp.Name = "txtWindTemp";
		this.txtWindTemp.ReadOnly = true;
		this.txtWindTemp.Size = new System.Drawing.Size(61, 25);
		this.txtWindTemp.TabIndex = 30;
		this.txtWindTemp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtForw.Location = new System.Drawing.Point(161, 434);
		this.txtForw.Margin = new System.Windows.Forms.Padding(4);
		this.txtForw.Name = "txtForw";
		this.txtForw.ReadOnly = true;
		this.txtForw.Size = new System.Drawing.Size(61, 25);
		this.txtForw.TabIndex = 30;
		this.txtForw.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label27.Location = new System.Drawing.Point(286, 441);
		this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label27.Name = "label27";
		this.label27.Size = new System.Drawing.Size(160, 15);
		this.label27.TabIndex = 29;
		this.label27.Text = "风道温度";
		this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label25.Location = new System.Drawing.Point(35, 439);
		this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label25.Name = "label25";
		this.label25.Size = new System.Drawing.Size(107, 15);
		this.label25.TabIndex = 29;
		this.label25.Text = "入射功率";
		this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtWaterTemp.Location = new System.Drawing.Point(455, 398);
		this.txtWaterTemp.Margin = new System.Windows.Forms.Padding(4);
		this.txtWaterTemp.Name = "txtWaterTemp";
		this.txtWaterTemp.ReadOnly = true;
		this.txtWaterTemp.Size = new System.Drawing.Size(61, 25);
		this.txtWaterTemp.TabIndex = 28;
		this.txtWaterTemp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtRef.Location = new System.Drawing.Point(161, 396);
		this.txtRef.Margin = new System.Windows.Forms.Padding(4);
		this.txtRef.Name = "txtRef";
		this.txtRef.ReadOnly = true;
		this.txtRef.Size = new System.Drawing.Size(61, 25);
		this.txtRef.TabIndex = 28;
		this.txtRef.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label26.Location = new System.Drawing.Point(286, 404);
		this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label26.Name = "label26";
		this.label26.Size = new System.Drawing.Size(160, 15);
		this.label26.TabIndex = 27;
		this.label26.Text = "水流速度";
		this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label24.Location = new System.Drawing.Point(35, 401);
		this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label24.Name = "label24";
		this.label24.Size = new System.Drawing.Size(107, 15);
		this.label24.TabIndex = 27;
		this.label24.Text = "反射功率";
		this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSAppendix1.Location = new System.Drawing.Point(161, 124);
		this.txtSAppendix1.Margin = new System.Windows.Forms.Padding(4);
		this.txtSAppendix1.Name = "txtSAppendix1";
		this.txtSAppendix1.ReadOnly = true;
		this.txtSAppendix1.Size = new System.Drawing.Size(61, 25);
		this.txtSAppendix1.TabIndex = 26;
		this.txtSAppendix1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label62.Location = new System.Drawing.Point(35, 130);
		this.label62.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label62.Name = "label62";
		this.label62.Size = new System.Drawing.Size(107, 15);
		this.label62.TabIndex = 25;
		this.label62.Text = "稀释气";
		this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSCool.Location = new System.Drawing.Point(161, 90);
		this.txtSCool.Margin = new System.Windows.Forms.Padding(4);
		this.txtSCool.Name = "txtSCool";
		this.txtSCool.ReadOnly = true;
		this.txtSCool.Size = new System.Drawing.Size(61, 25);
		this.txtSCool.TabIndex = 26;
		this.txtSCool.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label23.Location = new System.Drawing.Point(35, 96);
		this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label23.Name = "label23";
		this.label23.Size = new System.Drawing.Size(107, 15);
		this.label23.TabIndex = 25;
		this.label23.Text = "冷却气";
		this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSAux.Location = new System.Drawing.Point(161, 52);
		this.txtSAux.Margin = new System.Windows.Forms.Padding(4);
		this.txtSAux.Name = "txtSAux";
		this.txtSAux.ReadOnly = true;
		this.txtSAux.Size = new System.Drawing.Size(61, 25);
		this.txtSAux.TabIndex = 24;
		this.txtSAux.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label22.Location = new System.Drawing.Point(35, 56);
		this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label22.Name = "label22";
		this.label22.Size = new System.Drawing.Size(107, 15);
		this.label22.TabIndex = 23;
		this.label22.Text = "辅助气";
		this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSNeub.Location = new System.Drawing.Point(161, 15);
		this.txtSNeub.Margin = new System.Windows.Forms.Padding(4);
		this.txtSNeub.Name = "txtSNeub";
		this.txtSNeub.ReadOnly = true;
		this.txtSNeub.Size = new System.Drawing.Size(61, 25);
		this.txtSNeub.TabIndex = 22;
		this.txtSNeub.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label21.Location = new System.Drawing.Point(35, 21);
		this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label21.Name = "label21";
		this.label21.Size = new System.Drawing.Size(107, 15);
		this.label21.TabIndex = 21;
		this.label21.Text = "载气";
		this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSWater.Location = new System.Drawing.Point(160, 179);
		this.txtSWater.Margin = new System.Windows.Forms.Padding(4);
		this.txtSWater.Name = "txtSWater";
		this.txtSWater.ReadOnly = true;
		this.txtSWater.Size = new System.Drawing.Size(61, 25);
		this.txtSWater.TabIndex = 12;
		this.txtSWater.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label16.Location = new System.Drawing.Point(35, 186);
		this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label16.Name = "label16";
		this.label16.Size = new System.Drawing.Size(107, 15);
		this.label16.TabIndex = 11;
		this.label16.Text = "冷却水";
		this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSCoolSwitch.Location = new System.Drawing.Point(160, 215);
		this.txtSCoolSwitch.Margin = new System.Windows.Forms.Padding(4);
		this.txtSCoolSwitch.Name = "txtSCoolSwitch";
		this.txtSCoolSwitch.ReadOnly = true;
		this.txtSCoolSwitch.Size = new System.Drawing.Size(61, 25);
		this.txtSCoolSwitch.TabIndex = 10;
		this.txtSCoolSwitch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label15.Location = new System.Drawing.Point(35, 225);
		this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label15.Name = "label15";
		this.label15.Size = new System.Drawing.Size(107, 15);
		this.label15.TabIndex = 9;
		this.label15.Text = "风冷";
		this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSCoolGas.Location = new System.Drawing.Point(454, 260);
		this.txtSCoolGas.Margin = new System.Windows.Forms.Padding(4);
		this.txtSCoolGas.Name = "txtSCoolGas";
		this.txtSCoolGas.ReadOnly = true;
		this.txtSCoolGas.Size = new System.Drawing.Size(61, 25);
		this.txtSCoolGas.TabIndex = 8;
		this.txtSCoolGas.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label14.Location = new System.Drawing.Point(286, 269);
		this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label14.Name = "label14";
		this.label14.Size = new System.Drawing.Size(160, 15);
		this.label14.TabIndex = 7;
		this.label14.Text = "CAN&&GasFlow-IntLock";
		this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtPositive24.BackColor = System.Drawing.SystemColors.Control;
		this.txtPositive24.Location = new System.Drawing.Point(454, 298);
		this.txtPositive24.Margin = new System.Windows.Forms.Padding(4);
		this.txtPositive24.Name = "txtPositive24";
		this.txtPositive24.ReadOnly = true;
		this.txtPositive24.Size = new System.Drawing.Size(61, 25);
		this.txtPositive24.TabIndex = 6;
		this.txtPositive24.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtNegative24.BackColor = System.Drawing.SystemColors.Control;
		this.txtNegative24.Location = new System.Drawing.Point(160, 330);
		this.txtNegative24.Margin = new System.Windows.Forms.Padding(4);
		this.txtNegative24.Name = "txtNegative24";
		this.txtNegative24.ReadOnly = true;
		this.txtNegative24.Size = new System.Drawing.Size(61, 25);
		this.txtNegative24.TabIndex = 6;
		this.txtNegative24.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtCLRIntLock.BackColor = System.Drawing.SystemColors.Control;
		this.txtCLRIntLock.Location = new System.Drawing.Point(454, 333);
		this.txtCLRIntLock.Margin = new System.Windows.Forms.Padding(4);
		this.txtCLRIntLock.Name = "txtCLRIntLock";
		this.txtCLRIntLock.ReadOnly = true;
		this.txtCLRIntLock.Size = new System.Drawing.Size(61, 25);
		this.txtCLRIntLock.TabIndex = 6;
		this.txtCLRIntLock.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtPowerSwitch.BackColor = System.Drawing.SystemColors.Control;
		this.txtPowerSwitch.Location = new System.Drawing.Point(160, 294);
		this.txtPowerSwitch.Margin = new System.Windows.Forms.Padding(4);
		this.txtPowerSwitch.Name = "txtPowerSwitch";
		this.txtPowerSwitch.ReadOnly = true;
		this.txtPowerSwitch.Size = new System.Drawing.Size(61, 25);
		this.txtPowerSwitch.TabIndex = 6;
		this.txtPowerSwitch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtLightFault.BackColor = System.Drawing.SystemColors.Control;
		this.txtLightFault.Location = new System.Drawing.Point(454, 179);
		this.txtLightFault.Margin = new System.Windows.Forms.Padding(4);
		this.txtLightFault.Name = "txtLightFault";
		this.txtLightFault.ReadOnly = true;
		this.txtLightFault.Size = new System.Drawing.Size(61, 25);
		this.txtLightFault.TabIndex = 6;
		this.txtLightFault.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtSDoor.BackColor = System.Drawing.SystemColors.Control;
		this.txtSDoor.Location = new System.Drawing.Point(160, 259);
		this.txtSDoor.Margin = new System.Windows.Forms.Padding(4);
		this.txtSDoor.Name = "txtSDoor";
		this.txtSDoor.ReadOnly = true;
		this.txtSDoor.Size = new System.Drawing.Size(61, 25);
		this.txtSDoor.TabIndex = 6;
		this.txtSDoor.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label9.Location = new System.Drawing.Point(286, 308);
		this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label9.Name = "label9";
		this.label9.Size = new System.Drawing.Size(160, 15);
		this.label9.TabIndex = 5;
		this.label9.Text = "+24V电压";
		this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.lblNegative24.Location = new System.Drawing.Point(35, 339);
		this.lblNegative24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblNegative24.Name = "lblNegative24";
		this.lblNegative24.Size = new System.Drawing.Size(107, 15);
		this.lblNegative24.TabIndex = 5;
		this.lblNegative24.Text = "-24V电压";
		this.lblNegative24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label8.Location = new System.Drawing.Point(286, 344);
		this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label8.Name = "label8";
		this.label8.Size = new System.Drawing.Size(160, 15);
		this.label8.TabIndex = 5;
		this.label8.Text = "CLRIntLock";
		this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.lblPowerSwitch.Location = new System.Drawing.Point(35, 302);
		this.lblPowerSwitch.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblPowerSwitch.Name = "lblPowerSwitch";
		this.lblPowerSwitch.Size = new System.Drawing.Size(107, 15);
		this.lblPowerSwitch.TabIndex = 5;
		this.lblPowerSwitch.Text = "匹配箱电源";
		this.lblPowerSwitch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label7.Location = new System.Drawing.Point(286, 185);
		this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label7.Name = "label7";
		this.label7.Size = new System.Drawing.Size(160, 15);
		this.label7.TabIndex = 5;
		this.label7.Text = "光传感器";
		this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label13.Location = new System.Drawing.Point(35, 268);
		this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label13.Name = "label13";
		this.label13.Size = new System.Drawing.Size(107, 15);
		this.label13.TabIndex = 5;
		this.label13.Text = "门开关";
		this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtLoadPos.Location = new System.Drawing.Point(129, 449);
		this.txtLoadPos.Margin = new System.Windows.Forms.Padding(4);
		this.txtLoadPos.Name = "txtLoadPos";
		this.txtLoadPos.ReadOnly = true;
		this.txtLoadPos.Size = new System.Drawing.Size(99, 25);
		this.txtLoadPos.TabIndex = 50;
		this.txtLoadPos.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label41.Location = new System.Drawing.Point(15, 455);
		this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label41.Name = "label41";
		this.label41.Size = new System.Drawing.Size(107, 15);
		this.label41.TabIndex = 49;
		this.label41.Text = "LOAD位置";
		this.label41.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtTunePos.Location = new System.Drawing.Point(129, 411);
		this.txtTunePos.Margin = new System.Windows.Forms.Padding(4);
		this.txtTunePos.Name = "txtTunePos";
		this.txtTunePos.ReadOnly = true;
		this.txtTunePos.Size = new System.Drawing.Size(99, 25);
		this.txtTunePos.TabIndex = 48;
		this.txtTunePos.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label40.Location = new System.Drawing.Point(15, 418);
		this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label40.Name = "label40";
		this.label40.Size = new System.Drawing.Size(107, 15);
		this.label40.TabIndex = 47;
		this.label40.Text = "TUNE位置";
		this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtRFEN.Location = new System.Drawing.Point(129, 367);
		this.txtRFEN.Margin = new System.Windows.Forms.Padding(4);
		this.txtRFEN.Name = "txtRFEN";
		this.txtRFEN.ReadOnly = true;
		this.txtRFEN.Size = new System.Drawing.Size(99, 25);
		this.txtRFEN.TabIndex = 36;
		this.txtRFEN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label12.Location = new System.Drawing.Point(15, 372);
		this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label12.Name = "label12";
		this.label12.Size = new System.Drawing.Size(107, 15);
		this.label12.TabIndex = 35;
		this.label12.Text = "RFEN";
		this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtLightPrOn.Location = new System.Drawing.Point(129, 330);
		this.txtLightPrOn.Margin = new System.Windows.Forms.Padding(4);
		this.txtLightPrOn.Name = "txtLightPrOn";
		this.txtLightPrOn.ReadOnly = true;
		this.txtLightPrOn.Size = new System.Drawing.Size(99, 25);
		this.txtLightPrOn.TabIndex = 8;
		this.txtLightPrOn.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label11.Location = new System.Drawing.Point(15, 336);
		this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label11.Name = "label11";
		this.label11.Size = new System.Drawing.Size(107, 15);
		this.label11.TabIndex = 7;
		this.label11.Text = "LightPrOn";
		this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.gP4.Controls.Add(this.btnSend);
		this.gP4.Controls.Add(this.txtP4_8);
		this.gP4.Controls.Add(this.txtP4_7);
		this.gP4.Controls.Add(this.txtP4_6);
		this.gP4.Controls.Add(this.txtP4_5);
		this.gP4.Controls.Add(this.txtP4_4);
		this.gP4.Controls.Add(this.txtP4_3);
		this.gP4.Controls.Add(this.txtP4_2);
		this.gP4.Controls.Add(this.txtP4_1);
		this.gP4.Controls.Add(this.rbtnPowerTemperature);
		this.gP4.Controls.Add(this.rbtn48Voltage);
		this.gP4.Controls.Add(this.rbtnNone2);
		this.gP4.Controls.Add(this.rbtnNone1);
		this.gP4.Controls.Add(this.rbtnHealPower);
		this.gP4.Controls.Add(this.rbtn48Current);
		this.gP4.Controls.Add(this.rbtnForwardPower);
		this.gP4.Controls.Add(this.btnRefPower);
		this.gP4.Location = new System.Drawing.Point(585, 10);
		this.gP4.Margin = new System.Windows.Forms.Padding(4);
		this.gP4.Name = "gP4";
		this.gP4.Padding = new System.Windows.Forms.Padding(4);
		this.gP4.Size = new System.Drawing.Size(433, 294);
		this.gP4.TabIndex = 14;
		this.gP4.TabStop = false;
		this.gP4.Text = "P4参数";
		this.btnSend.Location = new System.Drawing.Point(354, 136);
		this.btnSend.Margin = new System.Windows.Forms.Padding(4);
		this.btnSend.Name = "btnSend";
		this.btnSend.Size = new System.Drawing.Size(75, 28);
		this.btnSend.TabIndex = 2;
		this.btnSend.Text = "发送";
		this.btnSend.UseVisualStyleBackColor = true;
		this.btnSend.Click += new System.EventHandler(btnSend_Click);
		this.txtP4_8.Location = new System.Drawing.Point(260, 254);
		this.txtP4_8.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_8.Name = "txtP4_8";
		this.txtP4_8.Size = new System.Drawing.Size(79, 25);
		this.txtP4_8.TabIndex = 1;
		this.txtP4_7.Location = new System.Drawing.Point(260, 221);
		this.txtP4_7.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_7.Name = "txtP4_7";
		this.txtP4_7.Size = new System.Drawing.Size(79, 25);
		this.txtP4_7.TabIndex = 1;
		this.txtP4_6.Location = new System.Drawing.Point(260, 189);
		this.txtP4_6.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_6.Name = "txtP4_6";
		this.txtP4_6.Size = new System.Drawing.Size(79, 25);
		this.txtP4_6.TabIndex = 1;
		this.txtP4_5.Location = new System.Drawing.Point(260, 156);
		this.txtP4_5.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_5.Name = "txtP4_5";
		this.txtP4_5.Size = new System.Drawing.Size(79, 25);
		this.txtP4_5.TabIndex = 1;
		this.txtP4_4.Location = new System.Drawing.Point(260, 124);
		this.txtP4_4.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_4.Name = "txtP4_4";
		this.txtP4_4.Size = new System.Drawing.Size(79, 25);
		this.txtP4_4.TabIndex = 1;
		this.txtP4_3.Location = new System.Drawing.Point(260, 91);
		this.txtP4_3.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_3.Name = "txtP4_3";
		this.txtP4_3.Size = new System.Drawing.Size(79, 25);
		this.txtP4_3.TabIndex = 1;
		this.txtP4_2.Location = new System.Drawing.Point(260, 59);
		this.txtP4_2.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_2.Name = "txtP4_2";
		this.txtP4_2.Size = new System.Drawing.Size(79, 25);
		this.txtP4_2.TabIndex = 1;
		this.txtP4_1.Location = new System.Drawing.Point(260, 26);
		this.txtP4_1.Margin = new System.Windows.Forms.Padding(4);
		this.txtP4_1.Name = "txtP4_1";
		this.txtP4_1.Size = new System.Drawing.Size(79, 25);
		this.txtP4_1.TabIndex = 1;
		this.rbtnPowerTemperature.AutoSize = true;
		this.rbtnPowerTemperature.Checked = true;
		this.rbtnPowerTemperature.Location = new System.Drawing.Point(17, 28);
		this.rbtnPowerTemperature.Margin = new System.Windows.Forms.Padding(4);
		this.rbtnPowerTemperature.Name = "rbtnPowerTemperature";
		this.rbtnPowerTemperature.Size = new System.Drawing.Size(88, 19);
		this.rbtnPowerTemperature.TabIndex = 0;
		this.rbtnPowerTemperature.TabStop = true;
		this.rbtnPowerTemperature.Text = "功放温度";
		this.rbtnPowerTemperature.UseVisualStyleBackColor = true;
		this.rbtnPowerTemperature.CheckedChanged += new System.EventHandler(rbtnPowerTemperature_CheckedChanged);
		this.rbtn48Voltage.AutoSize = true;
		this.rbtn48Voltage.Location = new System.Drawing.Point(17, 262);
		this.rbtn48Voltage.Margin = new System.Windows.Forms.Padding(4);
		this.rbtn48Voltage.Name = "rbtn48Voltage";
		this.rbtn48Voltage.Size = new System.Drawing.Size(82, 19);
		this.rbtn48Voltage.TabIndex = 0;
		this.rbtn48Voltage.Text = "48V电压";
		this.rbtn48Voltage.UseVisualStyleBackColor = true;
		this.rbtn48Voltage.CheckedChanged += new System.EventHandler(rbtn48Voltage_CheckedChanged);
		this.rbtnNone2.AutoSize = true;
		this.rbtnNone2.Location = new System.Drawing.Point(17, 229);
		this.rbtnNone2.Margin = new System.Windows.Forms.Padding(4);
		this.rbtnNone2.Name = "rbtnNone2";
		this.rbtnNone2.Size = new System.Drawing.Size(43, 19);
		this.rbtnNone2.TabIndex = 0;
		this.rbtnNone2.Text = "无";
		this.rbtnNone2.UseVisualStyleBackColor = true;
		this.rbtnNone2.CheckedChanged += new System.EventHandler(rbtnNone2_CheckedChanged);
		this.rbtnNone1.AutoSize = true;
		this.rbtnNone1.Location = new System.Drawing.Point(17, 195);
		this.rbtnNone1.Margin = new System.Windows.Forms.Padding(4);
		this.rbtnNone1.Name = "rbtnNone1";
		this.rbtnNone1.Size = new System.Drawing.Size(43, 19);
		this.rbtnNone1.TabIndex = 0;
		this.rbtnNone1.Text = "无";
		this.rbtnNone1.UseVisualStyleBackColor = true;
		this.rbtnNone1.CheckedChanged += new System.EventHandler(rbtnNone1_CheckedChanged);
		this.rbtnHealPower.AutoSize = true;
		this.rbtnHealPower.Location = new System.Drawing.Point(17, 161);
		this.rbtnHealPower.Margin = new System.Windows.Forms.Padding(4);
		this.rbtnHealPower.Name = "rbtnHealPower";
		this.rbtnHealPower.Size = new System.Drawing.Size(118, 19);
		this.rbtnHealPower.TabIndex = 0;
		this.rbtnHealPower.Text = "功放发热功率";
		this.rbtnHealPower.UseVisualStyleBackColor = true;
		this.rbtnHealPower.CheckedChanged += new System.EventHandler(rbtnHealPower_CheckedChanged);
		this.rbtn48Current.AutoSize = true;
		this.rbtn48Current.Location = new System.Drawing.Point(17, 128);
		this.rbtn48Current.Margin = new System.Windows.Forms.Padding(4);
		this.rbtn48Current.Name = "rbtn48Current";
		this.rbtn48Current.Size = new System.Drawing.Size(82, 19);
		this.rbtn48Current.TabIndex = 0;
		this.rbtn48Current.Text = "48V电流";
		this.rbtn48Current.UseVisualStyleBackColor = true;
		this.rbtn48Current.CheckedChanged += new System.EventHandler(rbtn48Current_CheckedChanged);
		this.rbtnForwardPower.AutoSize = true;
		this.rbtnForwardPower.Location = new System.Drawing.Point(17, 94);
		this.rbtnForwardPower.Margin = new System.Windows.Forms.Padding(4);
		this.rbtnForwardPower.Name = "rbtnForwardPower";
		this.rbtnForwardPower.Size = new System.Drawing.Size(88, 19);
		this.rbtnForwardPower.TabIndex = 0;
		this.rbtnForwardPower.Text = "入射功率";
		this.rbtnForwardPower.UseVisualStyleBackColor = true;
		this.rbtnForwardPower.CheckedChanged += new System.EventHandler(rbtnForwardPower_CheckedChanged);
		this.btnRefPower.AutoSize = true;
		this.btnRefPower.Location = new System.Drawing.Point(17, 60);
		this.btnRefPower.Margin = new System.Windows.Forms.Padding(4);
		this.btnRefPower.Name = "btnRefPower";
		this.btnRefPower.Size = new System.Drawing.Size(88, 19);
		this.btnRefPower.TabIndex = 0;
		this.btnRefPower.Text = "反射功率";
		this.btnRefPower.UseVisualStyleBackColor = true;
		this.btnRefPower.CheckedChanged += new System.EventHandler(btnRefPower_CheckedChanged);
		this.label19.Location = new System.Drawing.Point(15, 30);
		this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label19.Name = "label19";
		this.label19.Size = new System.Drawing.Size(107, 15);
		this.label19.TabIndex = 27;
		this.label19.Text = "Load预调";
		this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSLoadPre.Location = new System.Drawing.Point(129, 24);
		this.txtSLoadPre.Margin = new System.Windows.Forms.Padding(4);
		this.txtSLoadPre.Name = "txtSLoadPre";
		this.txtSLoadPre.ReadOnly = true;
		this.txtSLoadPre.Size = new System.Drawing.Size(99, 25);
		this.txtSLoadPre.TabIndex = 28;
		this.txtSLoadPre.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label36.Location = new System.Drawing.Point(15, 74);
		this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label36.Name = "label36";
		this.label36.Size = new System.Drawing.Size(107, 15);
		this.label36.TabIndex = 29;
		this.label36.Text = "Tune预调";
		this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label37.Location = new System.Drawing.Point(15, 220);
		this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label37.Name = "label37";
		this.label37.Size = new System.Drawing.Size(107, 15);
		this.label37.TabIndex = 29;
		this.label37.Text = "Shield";
		this.label37.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSTunePre.Location = new System.Drawing.Point(129, 67);
		this.txtSTunePre.Margin = new System.Windows.Forms.Padding(4);
		this.txtSTunePre.Name = "txtSTunePre";
		this.txtSTunePre.ReadOnly = true;
		this.txtSTunePre.Size = new System.Drawing.Size(99, 25);
		this.txtSTunePre.TabIndex = 30;
		this.txtSTunePre.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtSShield.Location = new System.Drawing.Point(129, 215);
		this.txtSShield.Margin = new System.Windows.Forms.Padding(4);
		this.txtSShield.Name = "txtSShield";
		this.txtSShield.ReadOnly = true;
		this.txtSShield.Size = new System.Drawing.Size(99, 25);
		this.txtSShield.TabIndex = 30;
		this.txtSShield.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label38.Location = new System.Drawing.Point(15, 114);
		this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label38.Name = "label38";
		this.label38.Size = new System.Drawing.Size(107, 15);
		this.label38.TabIndex = 47;
		this.label38.Text = "Load自动";
		this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtLoadAuto.Location = new System.Drawing.Point(128, 109);
		this.txtLoadAuto.Margin = new System.Windows.Forms.Padding(4);
		this.txtLoadAuto.Name = "txtLoadAuto";
		this.txtLoadAuto.ReadOnly = true;
		this.txtLoadAuto.Size = new System.Drawing.Size(99, 25);
		this.txtLoadAuto.TabIndex = 48;
		this.txtLoadAuto.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label39.Location = new System.Drawing.Point(15, 151);
		this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label39.Name = "label39";
		this.label39.Size = new System.Drawing.Size(107, 15);
		this.label39.TabIndex = 49;
		this.label39.Text = "Tune自动";
		this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtTuneAuto.Location = new System.Drawing.Point(128, 145);
		this.txtTuneAuto.Margin = new System.Windows.Forms.Padding(4);
		this.txtTuneAuto.Name = "txtTuneAuto";
		this.txtTuneAuto.ReadOnly = true;
		this.txtTuneAuto.Size = new System.Drawing.Size(99, 25);
		this.txtTuneAuto.TabIndex = 50;
		this.txtTuneAuto.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label46.Location = new System.Drawing.Point(15, 262);
		this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label46.Name = "label46";
		this.label46.Size = new System.Drawing.Size(107, 15);
		this.label46.TabIndex = 63;
		this.label46.Text = "MPS标志";
		this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtSMPS.Location = new System.Drawing.Point(129, 252);
		this.txtSMPS.Margin = new System.Windows.Forms.Padding(4);
		this.txtSMPS.Name = "txtSMPS";
		this.txtSMPS.ReadOnly = true;
		this.txtSMPS.Size = new System.Drawing.Size(99, 25);
		this.txtSMPS.TabIndex = 64;
		this.txtSMPS.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.groupBox1.Controls.Add(this.btnSaveCapacity);
		this.groupBox1.Controls.Add(this.btnCloseLightPr);
		this.groupBox1.Controls.Add(this.btnClearEXTI);
		this.groupBox1.Controls.Add(this.label48);
		this.groupBox1.Controls.Add(this.txtSMPS);
		this.groupBox1.Controls.Add(this.label45);
		this.groupBox1.Controls.Add(this.btnLightPrOn);
		this.groupBox1.Controls.Add(this.label46);
		this.groupBox1.Controls.Add(this.txtLoadPos);
		this.groupBox1.Controls.Add(this.label41);
		this.groupBox1.Controls.Add(this.label19);
		this.groupBox1.Controls.Add(this.txtTunePos);
		this.groupBox1.Controls.Add(this.txtSLoadPre);
		this.groupBox1.Controls.Add(this.label40);
		this.groupBox1.Controls.Add(this.label36);
		this.groupBox1.Controls.Add(this.label37);
		this.groupBox1.Controls.Add(this.txtSTunePre);
		this.groupBox1.Controls.Add(this.txtSShield);
		this.groupBox1.Controls.Add(this.label38);
		this.groupBox1.Controls.Add(this.txtTuneAuto);
		this.groupBox1.Controls.Add(this.txtLoadAuto);
		this.groupBox1.Controls.Add(this.txtRFEN);
		this.groupBox1.Controls.Add(this.label39);
		this.groupBox1.Controls.Add(this.label12);
		this.groupBox1.Controls.Add(this.btnOpenMPS);
		this.groupBox1.Controls.Add(this.btnCloseMPS);
		this.groupBox1.Controls.Add(this.btnOpenShield);
		this.groupBox1.Controls.Add(this.btnCloseShield);
		this.groupBox1.Controls.Add(this.btnOpenTuneAuto);
		this.groupBox1.Controls.Add(this.btnCloseTuneAuto);
		this.groupBox1.Controls.Add(this.btnOpenLoadAuto);
		this.groupBox1.Controls.Add(this.btnCloseLoadAuto);
		this.groupBox1.Controls.Add(this.btnOpenTunePre);
		this.groupBox1.Controls.Add(this.btnCloseTunePre);
		this.groupBox1.Controls.Add(this.btnOpenLoadPre);
		this.groupBox1.Controls.Add(this.btnCloseLoadPre);
		this.groupBox1.Controls.Add(this.label11);
		this.groupBox1.Controls.Add(this.txtLightPrOn);
		this.groupBox1.Location = new System.Drawing.Point(588, 311);
		this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox1.Name = "groupBox1";
		this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox1.Size = new System.Drawing.Size(430, 485);
		this.groupBox1.TabIndex = 65;
		this.groupBox1.TabStop = false;
		this.groupBox1.Text = "P3参数";
		this.groupBox1.Enter += new System.EventHandler(groupBox1_Enter);
		this.btnSaveCapacity.Location = new System.Drawing.Point(259, 419);
		this.btnSaveCapacity.Margin = new System.Windows.Forms.Padding(4);
		this.btnSaveCapacity.Name = "btnSaveCapacity";
		this.btnSaveCapacity.Size = new System.Drawing.Size(63, 29);
		this.btnSaveCapacity.TabIndex = 65;
		this.btnSaveCapacity.Text = "保存";
		this.btnSaveCapacity.UseVisualStyleBackColor = true;
		this.btnSaveCapacity.Click += new System.EventHandler(btnSaveCapacity_Click);
		this.btnCloseLightPr.Location = new System.Drawing.Point(329, 325);
		this.btnCloseLightPr.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseLightPr.Name = "btnCloseLightPr";
		this.btnCloseLightPr.Size = new System.Drawing.Size(64, 29);
		this.btnCloseLightPr.TabIndex = 63;
		this.btnCloseLightPr.Text = "关";
		this.btnCloseLightPr.UseVisualStyleBackColor = true;
		this.btnCloseLightPr.Click += new System.EventHandler(btnCloseLightPr_Click);
		this.btnClearEXTI.Location = new System.Drawing.Point(257, 362);
		this.btnClearEXTI.Margin = new System.Windows.Forms.Padding(4);
		this.btnClearEXTI.Name = "btnClearEXTI";
		this.btnClearEXTI.Size = new System.Drawing.Size(63, 29);
		this.btnClearEXTI.TabIndex = 25;
		this.btnClearEXTI.Text = "清零EXTI";
		this.btnClearEXTI.UseVisualStyleBackColor = true;
		this.btnClearEXTI.Click += new System.EventHandler(btnClearEXTI_Click);
		this.label48.AutoSize = true;
		this.label48.Location = new System.Drawing.Point(232, 452);
		this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label48.Name = "label48";
		this.label48.Size = new System.Drawing.Size(15, 15);
		this.label48.TabIndex = 24;
		this.label48.Text = "%";
		this.label45.AutoSize = true;
		this.label45.Location = new System.Drawing.Point(232, 413);
		this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label45.Name = "label45";
		this.label45.Size = new System.Drawing.Size(15, 15);
		this.label45.TabIndex = 24;
		this.label45.Text = "%";
		this.btnLightPrOn.Location = new System.Drawing.Point(257, 325);
		this.btnLightPrOn.Margin = new System.Windows.Forms.Padding(4);
		this.btnLightPrOn.Name = "btnLightPrOn";
		this.btnLightPrOn.Size = new System.Drawing.Size(64, 29);
		this.btnLightPrOn.TabIndex = 63;
		this.btnLightPrOn.Text = "开";
		this.btnLightPrOn.UseVisualStyleBackColor = true;
		this.btnLightPrOn.Click += new System.EventHandler(btnLightPrOn_Click);
		this.btnOpenMPS.Location = new System.Drawing.Point(257, 245);
		this.btnOpenMPS.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenMPS.Name = "btnOpenMPS";
		this.btnOpenMPS.Size = new System.Drawing.Size(64, 29);
		this.btnOpenMPS.TabIndex = 6;
		this.btnOpenMPS.Text = "开";
		this.btnOpenMPS.UseVisualStyleBackColor = true;
		this.btnOpenMPS.Click += new System.EventHandler(btnOpenMPS_Click);
		this.btnCloseMPS.Location = new System.Drawing.Point(329, 245);
		this.btnCloseMPS.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseMPS.Name = "btnCloseMPS";
		this.btnCloseMPS.Size = new System.Drawing.Size(64, 29);
		this.btnCloseMPS.TabIndex = 9;
		this.btnCloseMPS.Text = "关";
		this.btnCloseMPS.UseVisualStyleBackColor = true;
		this.btnCloseMPS.Click += new System.EventHandler(btnCloseMPS_Click);
		this.btnOpenShield.Location = new System.Drawing.Point(257, 211);
		this.btnOpenShield.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenShield.Name = "btnOpenShield";
		this.btnOpenShield.Size = new System.Drawing.Size(64, 29);
		this.btnOpenShield.TabIndex = 6;
		this.btnOpenShield.Text = "开";
		this.btnOpenShield.UseVisualStyleBackColor = true;
		this.btnOpenShield.Click += new System.EventHandler(btnOpenShield_Click);
		this.btnCloseShield.Location = new System.Drawing.Point(329, 211);
		this.btnCloseShield.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseShield.Name = "btnCloseShield";
		this.btnCloseShield.Size = new System.Drawing.Size(64, 29);
		this.btnCloseShield.TabIndex = 9;
		this.btnCloseShield.Text = "关";
		this.btnCloseShield.UseVisualStyleBackColor = true;
		this.btnCloseShield.Click += new System.EventHandler(btnCloseShield_Click);
		this.btnOpenTuneAuto.Location = new System.Drawing.Point(257, 137);
		this.btnOpenTuneAuto.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenTuneAuto.Name = "btnOpenTuneAuto";
		this.btnOpenTuneAuto.Size = new System.Drawing.Size(64, 29);
		this.btnOpenTuneAuto.TabIndex = 6;
		this.btnOpenTuneAuto.Text = "开";
		this.btnOpenTuneAuto.UseVisualStyleBackColor = true;
		this.btnOpenTuneAuto.Click += new System.EventHandler(btnOpenTuneAuto_Click);
		this.btnCloseTuneAuto.Location = new System.Drawing.Point(329, 137);
		this.btnCloseTuneAuto.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseTuneAuto.Name = "btnCloseTuneAuto";
		this.btnCloseTuneAuto.Size = new System.Drawing.Size(64, 29);
		this.btnCloseTuneAuto.TabIndex = 9;
		this.btnCloseTuneAuto.Text = "关";
		this.btnCloseTuneAuto.UseVisualStyleBackColor = true;
		this.btnCloseTuneAuto.Click += new System.EventHandler(btnCloseTuneAuto_Click);
		this.btnOpenLoadAuto.Location = new System.Drawing.Point(257, 101);
		this.btnOpenLoadAuto.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenLoadAuto.Name = "btnOpenLoadAuto";
		this.btnOpenLoadAuto.Size = new System.Drawing.Size(64, 29);
		this.btnOpenLoadAuto.TabIndex = 6;
		this.btnOpenLoadAuto.Text = "开";
		this.btnOpenLoadAuto.UseVisualStyleBackColor = true;
		this.btnOpenLoadAuto.Click += new System.EventHandler(btnOpenLoadAuto_Click);
		this.btnCloseLoadAuto.Location = new System.Drawing.Point(329, 101);
		this.btnCloseLoadAuto.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseLoadAuto.Name = "btnCloseLoadAuto";
		this.btnCloseLoadAuto.Size = new System.Drawing.Size(64, 29);
		this.btnCloseLoadAuto.TabIndex = 9;
		this.btnCloseLoadAuto.Text = "关";
		this.btnCloseLoadAuto.UseVisualStyleBackColor = true;
		this.btnCloseLoadAuto.Click += new System.EventHandler(btnCloseLoadAuto_Click);
		this.btnOpenTunePre.Location = new System.Drawing.Point(257, 60);
		this.btnOpenTunePre.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenTunePre.Name = "btnOpenTunePre";
		this.btnOpenTunePre.Size = new System.Drawing.Size(64, 29);
		this.btnOpenTunePre.TabIndex = 6;
		this.btnOpenTunePre.Text = "开";
		this.btnOpenTunePre.UseVisualStyleBackColor = true;
		this.btnOpenTunePre.Click += new System.EventHandler(btnOpenTunePre_Click);
		this.btnCloseTunePre.Location = new System.Drawing.Point(329, 60);
		this.btnCloseTunePre.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseTunePre.Name = "btnCloseTunePre";
		this.btnCloseTunePre.Size = new System.Drawing.Size(64, 29);
		this.btnCloseTunePre.TabIndex = 9;
		this.btnCloseTunePre.Text = "关";
		this.btnCloseTunePre.UseVisualStyleBackColor = true;
		this.btnCloseTunePre.Click += new System.EventHandler(btnCloseTunePre_Click);
		this.btnOpenLoadPre.Location = new System.Drawing.Point(257, 21);
		this.btnOpenLoadPre.Margin = new System.Windows.Forms.Padding(4);
		this.btnOpenLoadPre.Name = "btnOpenLoadPre";
		this.btnOpenLoadPre.Size = new System.Drawing.Size(64, 29);
		this.btnOpenLoadPre.TabIndex = 6;
		this.btnOpenLoadPre.Text = "开";
		this.btnOpenLoadPre.UseVisualStyleBackColor = true;
		this.btnOpenLoadPre.Click += new System.EventHandler(btnOpenLoadPre_Click);
		this.btnCloseLoadPre.Location = new System.Drawing.Point(329, 21);
		this.btnCloseLoadPre.Margin = new System.Windows.Forms.Padding(4);
		this.btnCloseLoadPre.Name = "btnCloseLoadPre";
		this.btnCloseLoadPre.Size = new System.Drawing.Size(64, 29);
		this.btnCloseLoadPre.TabIndex = 9;
		this.btnCloseLoadPre.Text = "关";
		this.btnCloseLoadPre.UseVisualStyleBackColor = true;
		this.btnCloseLoadPre.Click += new System.EventHandler(btnCloseLoadPre_Click);
		this.groupBox2.Controls.Add(this.label61);
		this.groupBox2.Controls.Add(this.label60);
		this.groupBox2.Controls.Add(this.label59);
		this.groupBox2.Controls.Add(this.label56);
		this.groupBox2.Controls.Add(this.label58);
		this.groupBox2.Controls.Add(this.label55);
		this.groupBox2.Controls.Add(this.txtErr7);
		this.groupBox2.Controls.Add(this.label57);
		this.groupBox2.Controls.Add(this.txtErr5);
		this.groupBox2.Controls.Add(this.label49);
		this.groupBox2.Controls.Add(this.txtErr8);
		this.groupBox2.Controls.Add(this.txtErr4);
		this.groupBox2.Controls.Add(this.txtErr6);
		this.groupBox2.Controls.Add(this.txtErr3);
		this.groupBox2.Controls.Add(this.txtErr2);
		this.groupBox2.Controls.Add(this.txtErr1);
		this.groupBox2.Location = new System.Drawing.Point(19, 535);
		this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox2.Name = "groupBox2";
		this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox2.Size = new System.Drawing.Size(558, 215);
		this.groupBox2.TabIndex = 66;
		this.groupBox2.TabStop = false;
		this.groupBox2.Text = "错误警报";
		this.label61.Location = new System.Drawing.Point(328, 101);
		this.label61.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label61.Name = "label61";
		this.label61.Size = new System.Drawing.Size(107, 15);
		this.label61.TabIndex = 49;
		this.label61.Text = "外部EXTI";
		this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label60.Location = new System.Drawing.Point(328, 142);
		this.label60.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label60.Name = "label60";
		this.label60.Size = new System.Drawing.Size(107, 15);
		this.label60.TabIndex = 49;
		this.label60.Text = "意外熄火";
		this.label60.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label59.Location = new System.Drawing.Point(24, 101);
		this.label59.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label59.Name = "label59";
		this.label59.Size = new System.Drawing.Size(107, 15);
		this.label59.TabIndex = 49;
		this.label59.Text = "功放箱连接";
		this.label59.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label56.Location = new System.Drawing.Point(24, 142);
		this.label56.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label56.Name = "label56";
		this.label56.Size = new System.Drawing.Size(107, 15);
		this.label56.TabIndex = 49;
		this.label56.Text = "环境温度";
		this.label56.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label58.Location = new System.Drawing.Point(328, 62);
		this.label58.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label58.Name = "label58";
		this.label58.Size = new System.Drawing.Size(107, 15);
		this.label58.TabIndex = 49;
		this.label58.Text = "匹配箱连接";
		this.label58.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label55.Location = new System.Drawing.Point(24, 66);
		this.label55.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label55.Name = "label55";
		this.label55.Size = new System.Drawing.Size(107, 15);
		this.label55.TabIndex = 49;
		this.label55.Text = "点火中断";
		this.label55.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtErr7.Location = new System.Drawing.Point(442, 95);
		this.txtErr7.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr7.Name = "txtErr7";
		this.txtErr7.ReadOnly = true;
		this.txtErr7.Size = new System.Drawing.Size(61, 25);
		this.txtErr7.TabIndex = 50;
		this.txtErr7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label57.Location = new System.Drawing.Point(328, 28);
		this.label57.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label57.Name = "label57";
		this.label57.Size = new System.Drawing.Size(107, 15);
		this.label57.TabIndex = 49;
		this.label57.Text = "水路堵塞";
		this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtErr5.Location = new System.Drawing.Point(148, 94);
		this.txtErr5.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr5.Name = "txtErr5";
		this.txtErr5.ReadOnly = true;
		this.txtErr5.Size = new System.Drawing.Size(61, 25);
		this.txtErr5.TabIndex = 50;
		this.txtErr5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.label49.Location = new System.Drawing.Point(24, 32);
		this.label49.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label49.Name = "label49";
		this.label49.Size = new System.Drawing.Size(107, 15);
		this.label49.TabIndex = 49;
		this.label49.Text = "光传感器";
		this.label49.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.txtErr8.Location = new System.Drawing.Point(442, 135);
		this.txtErr8.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr8.Name = "txtErr8";
		this.txtErr8.ReadOnly = true;
		this.txtErr8.Size = new System.Drawing.Size(61, 25);
		this.txtErr8.TabIndex = 50;
		this.txtErr8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtErr4.Location = new System.Drawing.Point(442, 55);
		this.txtErr4.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr4.Name = "txtErr4";
		this.txtErr4.ReadOnly = true;
		this.txtErr4.Size = new System.Drawing.Size(61, 25);
		this.txtErr4.TabIndex = 50;
		this.txtErr4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtErr6.Location = new System.Drawing.Point(148, 135);
		this.txtErr6.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr6.Name = "txtErr6";
		this.txtErr6.ReadOnly = true;
		this.txtErr6.Size = new System.Drawing.Size(61, 25);
		this.txtErr6.TabIndex = 50;
		this.txtErr6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtErr3.Location = new System.Drawing.Point(442, 22);
		this.txtErr3.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr3.Name = "txtErr3";
		this.txtErr3.ReadOnly = true;
		this.txtErr3.Size = new System.Drawing.Size(61, 25);
		this.txtErr3.TabIndex = 50;
		this.txtErr3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtErr2.Location = new System.Drawing.Point(149, 59);
		this.txtErr2.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr2.Name = "txtErr2";
		this.txtErr2.ReadOnly = true;
		this.txtErr2.Size = new System.Drawing.Size(61, 25);
		this.txtErr2.TabIndex = 50;
		this.txtErr2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.txtErr1.Location = new System.Drawing.Point(149, 25);
		this.txtErr1.Margin = new System.Windows.Forms.Padding(4);
		this.txtErr1.Name = "txtErr1";
		this.txtErr1.ReadOnly = true;
		this.txtErr1.Size = new System.Drawing.Size(61, 25);
		this.txtErr1.TabIndex = 50;
		this.txtErr1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
		this.gbCurve.Controls.Add(this.groupBox5);
		this.gbCurve.Controls.Add(this.groupBox3);
		this.gbCurve.Controls.Add(this.graph);
		this.gbCurve.Dock = System.Windows.Forms.DockStyle.Fill;
		this.gbCurve.Location = new System.Drawing.Point(4, 4);
		this.gbCurve.Margin = new System.Windows.Forms.Padding(4);
		this.gbCurve.Name = "gbCurve";
		this.gbCurve.Padding = new System.Windows.Forms.Padding(4);
		this.gbCurve.Size = new System.Drawing.Size(1651, 804);
		this.gbCurve.TabIndex = 68;
		this.gbCurve.TabStop = false;
		this.gbCurve.Text = "功率/温度曲线";
		this.groupBox5.Controls.Add(this.lblForward);
		this.groupBox5.Controls.Add(this.lblBack);
		this.groupBox5.Location = new System.Drawing.Point(12, 524);
		this.groupBox5.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox5.Name = "groupBox5";
		this.groupBox5.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox5.Size = new System.Drawing.Size(1628, 104);
		this.groupBox5.TabIndex = 70;
		this.groupBox5.TabStop = false;
		this.groupBox5.Text = "统计 ";
		this.lblForward.AutoSize = true;
		this.lblForward.Location = new System.Drawing.Point(11, 69);
		this.lblForward.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblForward.Name = "lblForward";
		this.lblForward.Size = new System.Drawing.Size(0, 15);
		this.lblForward.TabIndex = 0;
		this.lblBack.AutoSize = true;
		this.lblBack.Location = new System.Drawing.Point(11, 24);
		this.lblBack.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblBack.Name = "lblBack";
		this.lblBack.Size = new System.Drawing.Size(0, 15);
		this.lblBack.TabIndex = 0;
		this.groupBox3.Controls.Add(this.chkwt);
		this.groupBox3.Controls.Add(this.chkit);
		this.groupBox3.Controls.Add(this.chkrp);
		this.groupBox3.Controls.Add(this.chkfp);
		this.groupBox3.Controls.Add(this.btnRecord);
		this.groupBox3.Controls.Add(this.btnClear);
		this.groupBox3.Controls.Add(this.btnSave);
		this.groupBox3.Location = new System.Drawing.Point(8, 434);
		this.groupBox3.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox3.Name = "groupBox3";
		this.groupBox3.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox3.Size = new System.Drawing.Size(1636, 79);
		this.groupBox3.TabIndex = 69;
		this.groupBox3.TabStop = false;
		this.groupBox3.Text = "曲线设置";
		this.chkwt.AutoSize = true;
		this.chkwt.Checked = true;
		this.chkwt.CheckState = System.Windows.Forms.CheckState.Checked;
		this.chkwt.Location = new System.Drawing.Point(455, 35);
		this.chkwt.Margin = new System.Windows.Forms.Padding(4);
		this.chkwt.Name = "chkwt";
		this.chkwt.Size = new System.Drawing.Size(89, 19);
		this.chkwt.TabIndex = 69;
		this.chkwt.Text = "风道温度";
		this.chkwt.UseVisualStyleBackColor = true;
		this.chkwt.CheckedChanged += new System.EventHandler(chkwt_CheckedChanged);
		this.chkit.AutoSize = true;
		this.chkit.Checked = true;
		this.chkit.CheckState = System.Windows.Forms.CheckState.Checked;
		this.chkit.Location = new System.Drawing.Point(305, 35);
		this.chkit.Margin = new System.Windows.Forms.Padding(4);
		this.chkit.Name = "chkit";
		this.chkit.Size = new System.Drawing.Size(89, 19);
		this.chkit.TabIndex = 69;
		this.chkit.Text = "接口温度";
		this.chkit.UseVisualStyleBackColor = true;
		this.chkit.CheckedChanged += new System.EventHandler(chkit_CheckedChanged);
		this.chkrp.AutoSize = true;
		this.chkrp.Checked = true;
		this.chkrp.CheckState = System.Windows.Forms.CheckState.Checked;
		this.chkrp.Location = new System.Drawing.Point(160, 35);
		this.chkrp.Margin = new System.Windows.Forms.Padding(4);
		this.chkrp.Name = "chkrp";
		this.chkrp.Size = new System.Drawing.Size(89, 19);
		this.chkrp.TabIndex = 69;
		this.chkrp.Text = "反射功率";
		this.chkrp.UseVisualStyleBackColor = true;
		this.chkrp.CheckedChanged += new System.EventHandler(chkrp_CheckedChanged);
		this.chkfp.AutoSize = true;
		this.chkfp.Checked = true;
		this.chkfp.CheckState = System.Windows.Forms.CheckState.Checked;
		this.chkfp.Location = new System.Drawing.Point(24, 35);
		this.chkfp.Margin = new System.Windows.Forms.Padding(4);
		this.chkfp.Name = "chkfp";
		this.chkfp.Size = new System.Drawing.Size(89, 19);
		this.chkfp.TabIndex = 69;
		this.chkfp.Text = "前置功率";
		this.chkfp.UseVisualStyleBackColor = true;
		this.chkfp.CheckedChanged += new System.EventHandler(chkfp_CheckedChanged);
		this.btnRecord.Location = new System.Drawing.Point(816, 29);
		this.btnRecord.Margin = new System.Windows.Forms.Padding(4);
		this.btnRecord.Name = "btnRecord";
		this.btnRecord.Size = new System.Drawing.Size(76, 30);
		this.btnRecord.TabIndex = 68;
		this.btnRecord.Text = "记录";
		this.btnRecord.UseVisualStyleBackColor = true;
		this.btnRecord.Click += new System.EventHandler(btnRecord_Click);
		this.btnClear.Location = new System.Drawing.Point(999, 29);
		this.btnClear.Margin = new System.Windows.Forms.Padding(4);
		this.btnClear.Name = "btnClear";
		this.btnClear.Size = new System.Drawing.Size(76, 30);
		this.btnClear.TabIndex = 68;
		this.btnClear.Text = "清零";
		this.btnClear.UseVisualStyleBackColor = true;
		this.btnClear.Click += new System.EventHandler(btnClear_Click);
		this.btnSave.Location = new System.Drawing.Point(915, 29);
		this.btnSave.Margin = new System.Windows.Forms.Padding(4);
		this.btnSave.Name = "btnSave";
		this.btnSave.Size = new System.Drawing.Size(76, 30);
		this.btnSave.TabIndex = 68;
		this.btnSave.Text = "保存";
		this.btnSave.UseVisualStyleBackColor = true;
		this.btnSave.Visible = false;
		this.btnSave.Click += new System.EventHandler(btnSave_Click);
		this.graph.Dock = System.Windows.Forms.DockStyle.Top;
		this.graph.Location = new System.Drawing.Point(4, 22);
		this.graph.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
		this.graph.Name = "graph";
		this.graph.ScrollGrace = 0.0;
		this.graph.ScrollMaxX = 0.0;
		this.graph.ScrollMaxY = 0.0;
		this.graph.ScrollMaxY2 = 0.0;
		this.graph.ScrollMinX = 0.0;
		this.graph.ScrollMinY = 0.0;
		this.graph.ScrollMinY2 = 0.0;
		this.graph.Size = new System.Drawing.Size(1643, 405);
		this.graph.TabIndex = 67;
		this.tabControl1.Controls.Add(this.tabPage1);
		this.tabControl1.Controls.Add(this.tabPage3);
		this.tabControl1.Controls.Add(this.tabPage2);
		this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.tabControl1.Location = new System.Drawing.Point(0, 0);
		this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
		this.tabControl1.Name = "tabControl1";
		this.tabControl1.SelectedIndex = 0;
		this.tabControl1.Size = new System.Drawing.Size(1667, 841);
		this.tabControl1.TabIndex = 69;
		this.tabPage1.AutoScroll = true;
		this.tabPage1.Controls.Add(this.groupBox4);
		this.tabPage1.Controls.Add(this.groupBox2);
		this.tabPage1.Controls.Add(this.gIonSource);
		this.tabPage1.Controls.Add(this.groupBox1);
		this.tabPage1.Controls.Add(this.gIon);
		this.tabPage1.Controls.Add(this.gP4);
		this.tabPage1.Location = new System.Drawing.Point(4, 25);
		this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
		this.tabPage1.Name = "tabPage1";
		this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
		this.tabPage1.Size = new System.Drawing.Size(1659, 812);
		this.tabPage1.TabIndex = 0;
		this.tabPage1.Text = "固态光源";
		this.tabPage1.UseVisualStyleBackColor = true;
		this.tabPage3.Controls.Add(this.panel1);
		this.tabPage3.Location = new System.Drawing.Point(4, 25);
		this.tabPage3.Name = "tabPage3";
		this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
		this.tabPage3.Size = new System.Drawing.Size(1659, 812);
		this.tabPage3.TabIndex = 2;
		this.tabPage3.Text = "MFC地址设置";
		this.tabPage3.UseVisualStyleBackColor = true;
		this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
		this.panel1.Controls.Add(this.groupBox6);
		this.panel1.Controls.Add(this.btnMFCAddressSet);
		this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
		this.panel1.Location = new System.Drawing.Point(3, 3);
		this.panel1.Name = "panel1";
		this.panel1.Size = new System.Drawing.Size(1653, 806);
		this.panel1.TabIndex = 0;
		this.groupBox6.Controls.Add(this.comboBox1);
		this.groupBox6.Controls.Add(this.txtoldAddress1);
		this.groupBox6.Controls.Add(this.txtnewAddress1);
		this.groupBox6.Controls.Add(this.label65);
		this.groupBox6.Controls.Add(this.label64);
		this.groupBox6.Controls.Add(this.label63);
		this.groupBox6.Location = new System.Drawing.Point(10, 3);
		this.groupBox6.Name = "groupBox6";
		this.groupBox6.Size = new System.Drawing.Size(399, 187);
		this.groupBox6.TabIndex = 4;
		this.groupBox6.TabStop = false;
		this.comboBox1.FormattingEnabled = true;
		this.comboBox1.Items.AddRange(new object[4] { "载气", "辅助气", "冷却气", "稀释气" });
		this.comboBox1.Location = new System.Drawing.Point(224, 137);
		this.comboBox1.Name = "comboBox1";
		this.comboBox1.Size = new System.Drawing.Size(121, 23);
		this.comboBox1.TabIndex = 2;
		this.txtoldAddress1.Location = new System.Drawing.Point(226, 84);
		this.txtoldAddress1.Name = "txtoldAddress1";
		this.txtoldAddress1.Size = new System.Drawing.Size(119, 25);
		this.txtoldAddress1.TabIndex = 1;
		this.txtnewAddress1.Location = new System.Drawing.Point(226, 38);
		this.txtnewAddress1.Name = "txtnewAddress1";
		this.txtnewAddress1.Size = new System.Drawing.Size(119, 25);
		this.txtnewAddress1.TabIndex = 1;
		this.label65.Location = new System.Drawing.Point(61, 141);
		this.label65.Name = "label65";
		this.label65.Size = new System.Drawing.Size(150, 18);
		this.label65.TabIndex = 0;
		this.label65.Text = "通道：";
		this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label64.Location = new System.Drawing.Point(61, 86);
		this.label64.Name = "label64";
		this.label64.Size = new System.Drawing.Size(150, 18);
		this.label64.TabIndex = 0;
		this.label64.Text = "旧地址：";
		this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.label63.Location = new System.Drawing.Point(61, 40);
		this.label63.Name = "label63";
		this.label63.Size = new System.Drawing.Size(150, 18);
		this.label63.TabIndex = 0;
		this.label63.Text = "新地址：";
		this.label63.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
		this.btnMFCAddressSet.Location = new System.Drawing.Point(434, 67);
		this.btnMFCAddressSet.Name = "btnMFCAddressSet";
		this.btnMFCAddressSet.Size = new System.Drawing.Size(129, 37);
		this.btnMFCAddressSet.TabIndex = 3;
		this.btnMFCAddressSet.Text = "设定";
		this.btnMFCAddressSet.UseVisualStyleBackColor = true;
		this.btnMFCAddressSet.Click += new System.EventHandler(btnMFCAddressSet_Click);
		this.tabPage2.Controls.Add(this.gbCurve);
		this.tabPage2.Location = new System.Drawing.Point(4, 25);
		this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
		this.tabPage2.Name = "tabPage2";
		this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
		this.tabPage2.Size = new System.Drawing.Size(1659, 812);
		this.tabPage2.TabIndex = 1;
		this.tabPage2.Text = "功率/温度曲线";
		this.tabPage2.UseVisualStyleBackColor = true;
		base.AutoScaleDimensions = new System.Drawing.SizeF(8f, 15f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.ClientSize = new System.Drawing.Size(1667, 841);
		base.Controls.Add(this.tabControl1);
		base.Margin = new System.Windows.Forms.Padding(4);
		base.Name = "FormIonSource";
		base.ShowIcon = false;
		this.Text = "固态光源";
		base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(Form1_FormClosing);
		base.Load += new System.EventHandler(Form1_Load);
		this.gIon.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.nudPeri).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudZ).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudY).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudX).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudAppendix1).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudCool).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudAux).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudNeub).EndInit();
		this.gIonSource.ResumeLayout(false);
		this.gIonSource.PerformLayout();
		((System.ComponentModel.ISupportInitialize)this.nudPower).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudLoadPos).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudTunePos).EndInit();
		this.groupBox4.ResumeLayout(false);
		this.groupBox4.PerformLayout();
		this.gP4.ResumeLayout(false);
		this.gP4.PerformLayout();
		this.groupBox1.ResumeLayout(false);
		this.groupBox1.PerformLayout();
		this.groupBox2.ResumeLayout(false);
		this.groupBox2.PerformLayout();
		this.gbCurve.ResumeLayout(false);
		this.groupBox5.ResumeLayout(false);
		this.groupBox5.PerformLayout();
		this.groupBox3.ResumeLayout(false);
		this.groupBox3.PerformLayout();
		this.tabControl1.ResumeLayout(false);
		this.tabPage1.ResumeLayout(false);
		this.tabPage3.ResumeLayout(false);
		this.panel1.ResumeLayout(false);
		this.groupBox6.ResumeLayout(false);
		this.groupBox6.PerformLayout();
		this.tabPage2.ResumeLayout(false);
		base.ResumeLayout(false);
	}
}
